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 loopb) Modify the code to use a do..while loop. 4. Solve the following problems using while loops.
To access the contents of this site, you must subscribe.