Program Plan
1.Rearrange the Program.
2.Ask the user to enter employee's name, arrival time and departure time.
3.Calculate total time spent by an employee on the job.
4.User should run the program as long as the user wishes.
Program:
Write a program to calculates the total time spent by an employee on the job.