Thread: Babysitter Program

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    54

    Babysitter Program. PLEASE HELP!

    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.

    Thanks.
    Last edited by sonict; 11-12-2002 at 07:58 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM