69 620
Assignments Done
Successfully Done
In February 2019

Answer to Question #57132 in C++ for Melih

Question #57132
Write a complete C or C++ program to implement an employee directory. Structure contains name, employee id, department, profession, registration date and contract expiry date as day, month, year. Your program should have the following menu. Write necessary functions for the menu:

1- Add a new employee to directory
2- Delete an employee from the directory
3- List available employees in the directory
4- Search an employee:
A – Search according to employee id
B – Search according to registration year
5- Update employee information (give prompt to update all the fields)
6- Sort
A – According to ID
B – According to Name
7- Calculate salary (employee ID, workdays and rate are user inputs: salary = workdays * rate)
8- Quit

struct date
int day, month, year;
struct employee

int ID;
char name[20];
struct date reg_date, exp_date;
float salary;
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions