Search:

Type: Posts; User: sizzle_chest

Search: Search took 0.01 seconds.

  1. I need it to loop if the user does not put in the...

    I need it to loop if the user does not put in the correct input. With the switch case it goes into an infinite loop when a non numeric charicter is entered. which is why I wrote it the way i did....
  2. is there a better/shorter way to do a menu

    I need to write a generic menu that can be easily modified for future use. This is what I have. It works and is bug free that I can tell but is there a better way to do this. Or easier way? ...
  3. Replies
    3
    Views
    2,452

    how to test if user input is an int

    This is not part of my assignment, but I would like to figure out how to test the user input to be sure it is an integer. Is there a native function that I can use? If not can some one point me in...
  4. how to determine if user input is an int

    This is not part of my assignment, but I would like to figure out how to test the user input to be sure it is an integer. Is there a native function that I can use? If nit can some one point me in...
  5. Replies
    6
    Views
    7,594

    that does the trick. i was missing the add .5. ...

    that does the trick. i was missing the add .5.

    thanx
  6. Replies
    6
    Views
    7,594

    rounding to nearest penny

    I am a newb. this code works but i need to round to the nearest penny and can't find the right function. I found floor() and ciel() but they only round up or down to the nearest integer. Any...
Results 1 to 6 of 6