plz i wanna sol for this q with describ
anyone can help me ???
write C++ program cosist of two structures
- The first called "Address" consist of three elements (city, state, and zip code).
- The second called "Employee" consist of seven elements ( Employee name,
number, Address, Birthdate, telephone, grade{A, B, C, or D}, salary).
Employee Salary depend on degree of Employee
- Grade "A" salary is 800$
- Grade "B" salary is 700$
- Grade "C" salary is 600$
- Other Grade salary is 500$
The program display the Next menu on the screen to ask user to choice operation
1- Enter New Employee record to the file.
2- Search for a particular Employee's record and display it.
3- Search for a particular Employee's record and change it.
4- Display the contents of the entire file.
5- Exit
Enter your choice
Choice 1 :
Call function is called "AddRecord", in the function open a file and then store
information of one employee and then close the file.
Choice 2:
Call function is called "DisplayRecord", in the function open a file, and ask user
to enter Employee number, and then search in the file, if number in the file show
all other information of this employee.
Choice 3:
Call function is called "ChangeRecord", in the function open a file, and ask user
to enter Employee number, and then search in the file, if number in the file, ask
user to enter new information to this employee.
Choice 4:
Call function is called "Display", in th function open file, and display all
contents of the file.