Thread: Help with a program for my class

  1. #1
    Registered User
    Join Date
    Mar 2003

    Help with a program for my class

    cell phones have small screens and you must fit all information on one line. i.e. prime: 49 m. off-peak: 231 m. cost: 19.50
    For our cell phone 'plan' the first 30 minutes primetime and 200 minutes off peak are included with the monthly fee, the cost reflects a .39 cent a minute charge for calls that exceed the included minutes.
    You will need a menu (can you squeeze it onto the same line as the minutes?) for entering fake phone calls. A call will essentially just ask the user to enter the type and length of the call, then will refresh the splash screen and information line.

    This is what I have to do, and no clue on where to get started besides a few i/o commands, any help or any direction would be cool, thanks guys

  2. #2
    Registered User
    Join Date
    Oct 2002
    No-one is going to write your homework for you.

    Try using those simple io commands - that plus a bit of maths should be all you need.

    If you get stuck on something specific, post the code you've written and your problem back to the forum, and you'll get help.

  3. #3
    Black Mage Extraordinaire VegasSte's Avatar
    Join Date
    Oct 2002
    Like Morgan said, try it yourself!
    Also, maybe now would be a good time to read this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Class design problem
    By h3ro in forum C++ Programming
    Replies: 10
    Last Post: 12-19-2008, 09:10 AM
  2. deriving classes
    By l2u in forum C++ Programming
    Replies: 12
    Last Post: 01-15-2007, 05:01 PM
  3. Replies: 8
    Last Post: 10-02-2005, 12:27 AM
  4. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  5. C program for Class --- DUE TODAY!!! AHHHH
    By Fr0st2k in forum C Programming
    Replies: 6
    Last Post: 09-22-2004, 03:10 PM