Thread: Someone please call 911..........

  1. #1
    Registered User
    Join Date
    Sep 2001

    Red face Someone please call 911..........(not really)

    Hi fellow Programmers.

    Hello it is Semma I have a question. How do I represents length

    of time in minutes and outputs two numbers that represent the

    same length of time in hours and minutes in a message using the

    user's name. Here is an example of the program working:

    What is your name? Nancy

    What time in minutes would you like converted ? 750

    Nancy, 12 hours and 30 mintes correspond to 750 minutes.

    Thank you........

  2. #2
    Join Date
    Aug 2001
    hours = t / 60
    min = t % 60

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Error C2664 - Trying to call an external Dll
    By jamez05 in forum C++ Programming
    Replies: 3
    Last Post: 08-08-2006, 06:07 AM
  2. system call
    By fnoyan in forum Linux Programming
    Replies: 2
    Last Post: 06-07-2006, 10:53 AM
  3. Class won't call
    By Aalmaron in forum C++ Programming
    Replies: 3
    Last Post: 04-13-2006, 04:57 PM
  4. Iterative Tree Traversal using a stack
    By BigDaddyDrew in forum C++ Programming
    Replies: 7
    Last Post: 03-10-2003, 05:44 PM
  5. call by reference and a call by value
    By IceCold in forum C Programming
    Replies: 4
    Last Post: 09-08-2001, 05:06 PM