While loops and for loops: Correct Solution


Part 1

Translate the following natural language description of a loop into a for loop:

Declare a variable named cuse of type double, initialized to 98. Then, until cuse is greater than zuZaumi, increment cuse.

Solution

for (double cuse = 98; cuse >= zuZaumi; cuse++) {
    ...
}

Something to double-check in your solution:


Related puzzles: