English is not my first language and i have having hard time understanding what exactly the instructions are telling me to do.
Problem: Most hourly paying jobs require someone to enter information on a time sheet. The ACSL Amusement Park is open from 9:00a.m to 5:00 p.m. The Business Office enters a code representing the location where an employee works and the starting time and ending time for each day. The codes entered are as follows.
Location 1-9 get paid $10.00 per hour with no overtime for extra hours.
Location 10-19 get paid $8.00 per hour for the first 4 hours and $12.00 for any hours over 4.
Location 20-29 get $12.00 per hour for the first 4 hours and double that for any hours over 4.
INPUT: There will be 4 lines of input. Each line will contain 3 characters representing the location, start time and end time for an employee.
OUTPUT: For each input line print the daily pay for the employee. The fifth output will be the sum of the four daily pay amounts. All pay amounts must be printed in dollar and cents format.