Hi
If there is while loop to ask user to input a integer at a time, how to prevent from input by and char or string or any decimal numbers? and how to quit the while loop if user only push the "enter" key without any input?
Thanks.
Printable View
Hi
If there is while loop to ask user to input a integer at a time, how to prevent from input by and char or string or any decimal numbers? and how to quit the while loop if user only push the "enter" key without any input?
Thanks.
Well, you could always read the FAQ.
Quzah.