A babysitter charges 250 dollar an hour until 9 00


Question: A babysitter charges 2.50 dollar an hour until 9 :00 PM(Afternoon at local time) then the ratedrops to 1.75 dollar an hour(the children are in bed).Write a program using class that accepts a starting time and ending time in hours and minutes and calculates the total babysitting bill. You may assume that the starting and ending times are in a single 12 hour period. Partial hours should be appropriately calculated.

Solution Preview :

Prepared by a verified Expert
Finance Basics: A babysitter charges 250 dollar an hour until 9 00
Reference No:- TGS02455334

Now Priced at $15 (50% Discount)

Recommended (92%)

Rated (4.4/5)