s911x
12-08-2006, 07:57 PM
plz I want someone to help me creating a c++ programe which can do this today
plz plz i want it for today :confused:
Write a program that manages a list of employees. Users of this program must interact with the program using the following menu:
1) Add an employee
2) List all employees and their salaries
3) Display the salary of an individual employee
4) List all employees who's salaries fall within a certain range
5) Display the total salaries of all employees
6) Display the minimum, average, and maximum salaries of all employees
7) Exit program
For this program, you should observe the following:
1.For each employee, the program should keep the employee's ID and salary.
2.Employees' information are kept in a file called "emps.dat".
3.Employees are assigned unique IDs in the range 10000 to 99999. The program must not allow adding two employees with the same ID.
4.Employee salaries should be between 100 and 1000.
5.The program must validate all user inputs.
6.The program must confirm users' requests to exit the program.
7.The program must display the above menu after completing each action.
8.There should be a dedicated function to display the above menu, and reads and validates the user's selection.
9.You should have one separate function that implements each of the first six options in the above menu.
10.For options1, 3, and 4 of the above menu, the program must validate the user's inputs and generate appropriate error messages.
The list of employees that will be displayed should look like the following:
|===========|=============|
| Employee ID | Employee Salary |
|===========|=============|
| 50509 | 592.550 |
| 22807 | 179.125 |
| 10422 | 382.100 |
| 41290 | 399.000 |
| 16340 | 194.050 |
|===========|=============|
and should use functions,arrays and files
please I need ur help fellas
plz plz i want it for today :confused:
Write a program that manages a list of employees. Users of this program must interact with the program using the following menu:
1) Add an employee
2) List all employees and their salaries
3) Display the salary of an individual employee
4) List all employees who's salaries fall within a certain range
5) Display the total salaries of all employees
6) Display the minimum, average, and maximum salaries of all employees
7) Exit program
For this program, you should observe the following:
1.For each employee, the program should keep the employee's ID and salary.
2.Employees' information are kept in a file called "emps.dat".
3.Employees are assigned unique IDs in the range 10000 to 99999. The program must not allow adding two employees with the same ID.
4.Employee salaries should be between 100 and 1000.
5.The program must validate all user inputs.
6.The program must confirm users' requests to exit the program.
7.The program must display the above menu after completing each action.
8.There should be a dedicated function to display the above menu, and reads and validates the user's selection.
9.You should have one separate function that implements each of the first six options in the above menu.
10.For options1, 3, and 4 of the above menu, the program must validate the user's inputs and generate appropriate error messages.
The list of employees that will be displayed should look like the following:
|===========|=============|
| Employee ID | Employee Salary |
|===========|=============|
| 50509 | 592.550 |
| 22807 | 179.125 |
| 10422 | 382.100 |
| 41290 | 399.000 |
| 16340 | 194.050 |
|===========|=============|
and should use functions,arrays and files
please I need ur help fellas