76 984
Assignments Done
98,5%
Successfully Done
In June 2019

Answer to Question #43094 in C for Mpendulo

Question #43094
Your question (max 1024 symbols) Home Work Question 1:
write a complete C program to implement an e
mployee directory. Structure contains name,
employee id, department, profession, registration d
ate and contract expiry date as day, month, year.
Your program should have the following menu. Write
necessary functions for the menu:
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
6- Sort
A – According to ID
B – According to Name
7-Quit

struct date
{
int day, month, year;
};

struct car
{
int ID;
char name[20], dept [4], prof [4];
struct date reg_date, exp_date;
}emp_directory[100];


**Important notes:
Write a user defined function
for each menu option.

For Department field, use the following sample code
s:
o
CNT, DP1, DP2

For profession field, use the following codes:
o
PRO,INV, RES, TST
Detailed explanation: NO
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!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions