Can some one please help me write this program. It is very tough for me.
A babysitter charges $3.00 an hour between 6 pm and 9:30 pm and $5.00 an hour between 9:30 pm and midnight. The babysitter does not work before 6 PM or after midnight.
Write a program to read the starting time and finishing time in hours and minutes.
Enter whether it is A.M. or P.M. Calculate the babysitters fee. Your program should validate the starting and finishing times and print errors if the times are inappropriate.