I have been given a simple assignment, quoted below, and finished working it out.
Write a C program that would create employee data for 100 employees.
Each employee should have a name, ecode, age and department details.
Don't use a programmatic initialization. Instead, it should be
possible to provide these values as keyboard input either directly
or through indirection.
It should be possible to query on either name or ecode and get
complete details about the employee.
I would like to know how each of u would have solved the above, i.e. your approach.
PS: we are not allowed to ask our teacher anything regarding the question