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....
Type: Posts; User: sizzle_chest
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....
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? ...
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...
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...
that does the trick. i was missing the add .5.
thanx
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...