Homework EC - Structures (Extra Credit)

Due: Friday November 18, 2011 at 5:00pm

NOTE: Since this is an extra credit assignment NO late homeworks will be accepted. The solution will be posted on Saturday November 19th to study before the final.

The purpose of this assignment is to use structures to implement a small database, instead of parallel arrays.

Convert Homework 6, Problem 2 to use a structure for each employee and an array of the structure to store all the employees. The structure should contain at least the employee's name, the employee's pay rate and the hours the employee worked that week. You may add additional data items to the structure if you wish.

Use the same menu and function names as Homework 6. The primary difference for the functions will be the parameters to the functions:

You will need to update the parameter lists and the function calls in main() to follow this. Additionally, you will need to modify the body of the functions to use the dot operator to access each member variable.

Email your completed source code to me.