[solved] – Question 7843
10 employees clock in when they arrive at work and clock out when they leave work. clock in and clock out times are sent to the system in the format hh:mm:ss. Employees are paid €25 per hour and their wage is calculated by subtracting the clock in time from the clock out time. Hours and minutes count when calculating wages.
Write a menu-driven program read the names of 10 employees. The menu should then allow an employee to clock in and clock out and read the time appropriately.
When exit option is chosen, a report will be generated and displayed. The report will list the names of 10 employees with their pay for that day. if the employee did not clock in, the word Absent should be in place of their pay. the report will also display the total amount of money earned by all employees on that day.
Expert Answer
OR

