count == 11
and increment == 2
will work, as will many others.
Here is a flowchart of the program:
Each execution of a loop body is called an iteration. Sometimes the general concept of looping is also called iteration. In a counting loop, each iteration changes an integer loop control variable by an integer amount. The amount of change can be positive or negative.
Say that during a run of a program,
the body of a loop was exectued 5 times.
How many times was the conditional part of the while
statement
evaluated?