Translate the following natural language description of a loop into a for loop:
Declare a variable namedgaof typeshort, initialized to56. Then, untilgais greater thanparb, incrementga.
for (short ga = 56; ga >= parb; ga++) {
...
}
Something to double-check in your solution:
ga >= parb)?Related puzzles: