I need help please. I am new to C++. I want to create a program that would compute the weekly salary of the employees. The program would accept TIME-IN and TIME-OUT inputs then get the total hours for the day. The time format is in 24 hour format (e.g. 13:00 is 1:00 pm). I also want to get the total hours for the week.
Inputs: (are underlined)
Employee Number: 12345
Name: Josef Alarka
Salary Rate: 380.00
Time-In for Monday: 08:00
Time-Out for Monday: 17:01
.
.time in, time-out from monday to friday.
.
Time-In for Friday: 08:00
Time-Out for Friday: 17:01
Coverage Date: June 11-15, 2009
Outputs:
************************
Employee Number: 1234
Name: Josef Alarka
Salary Rate: Php 380.00 (with currency format. still i don't know how to format this)
************************
Date Covered: June 11-15, 2009
Total Number of Hours Worked: 40 hrs.
Net Income: Php 1900.00
************************
Any help is very much appreciated. Thank you very much.