The cost of the call is determined according to following schedule:
A. Any call started between 8.00AM to 6.00PM, Monday through Friday, is billed at a rate of $0.4 per minute.
B. Any call starting before 8.00AM or after 6.00PM, Monday through Friday, is charged at a rate of 0.25 per minute.
The output will be the cost of the call. The time is to be input in 24-hour notation.
My question is: If the user enter start for 0730 and duration 40 mins, and user enter 2300 and duration is 720 mins(12 hours). How is it??? NEED HELP SO MUCH!!!!!