The full question, with example.
Using a while loop, write a program that asks the user to enter a number that is larger than 10. The program will continue asking for a number until a number that is larger than 10 has been entered. The program will then print the valid number entered followed by the message "Done".
Sample input and output :
Enter a number larger than 10 : 5
Enter a number larger than 10 : 10
Enter a number larger than 10 : 15
You entered 15
Done
- I can start off but cannot get a number that is larger than 10. Please help. thanks
2007-02-21
09:06:24
·
2 answers
·
asked by
Facilitate
1
in
Computers & Internet
➔ Programming & Design