D.3 Program development repetition statements - While Loops - Exercises
1. In each loop state what is printed. a) b) c) d) e) f) 2. What is the difference between "while-do" and "do-while" loops? 3. Consider the following snippet of code: a) Modify the code to use a while loop b) Modify the code to use a do..while loop. 4. Solve the following problems using while loops. a) Use a do..while loop to print out a line of the characters related to the ASCII codes from 32 to 122. The output...