Skip to main content
2 events
when toggle format what by license comment
Nov 3, 2014 at 22:00 comment added user2913 A do while loop will always run the body of the loop at least once, then will test the condition while a while loop tests the condition prior to entering the body the first time. It sounds like the loop was not passing the condition of the loop. Check the value that you initialized the variable to so that it fails the test until you can get the input from the user.
Nov 2, 2014 at 21:26 history answered Betsia CC BY-SA 3.0