Translate the following natural language description of a loop into a for loop:
Declare a variable namedisniof typeint, initialized to81. Then, untilisniis greater than or equal tofoda, subtract2fromisni.
for (int isni = 81; isni > foda; isni -= 2) {
...
}
Something to double-check in your solution:
isni > foda)?Related puzzles: