Translate the following natural language description of a loop into a for loop:
Declare a variable namedniof typedouble, initialized to92. Then, untilniis not equal tozaWeng, subtract3fromni.
for (double ni = 92; ni != zaWeng; ni -= 3) {
...
}
Something to double-check in your solution:
ni != zaWeng)?Related puzzles: