Translate the following natural language description of a loop into a for loop:
Declare a variable namedcocof typeint, initialized to11. Then, untilcocis less thannir, decrementcoc.
for (int coc = 11; coc <= nir; coc--) {
...
}
Something to double-check in your solution:
coc <= nir)?Related puzzles: