Compute the equivalent in radians. Print the angle in degrees and radians. Increment the angle by 10 degrees. Loops of this kind occur frequently. On each iteration, the control variable is incremented or decremented by a constant.
Iteration stops when the value of the control variable passes a predefined limit.
The Do-loop A DO loop is a sequence of statements beginning with a DO statement . The sequence of statements beginning with the statement immediately following the DO statement and ending with the terminal statement is called the range of the DO loop. If e3 is omitted, a value of 1 is used. The resulting values are called the parameters of the loop. We shall call them initial , limit and increment respectively.