Section 5.10 Loops-WE5-P1
Subsection 5.10.1 Subgoals for Evaluating a Loop
Diagram which statements go together.
Define and initialize variables
Determine the start condition.
Determine the update condition.
Determine the termination condition.
Determine body that is repeated.
Trace the loop.
For every iteration of the loop, write down the values.
Subsection 5.10.2 Loops-WE5-P1
Put the code in the right order to create a program that will prompt a user to enter an integer which is NOT a negative mulitple of 5. If the user enters a negative multiple of 5, the program should ask for another value.