Translate the following natural language description of a loop into a for loop:
Declare a variable namedoof typeint, initialized topei. Then, untilois less than or equal togasm, incremento.
for (int o = pei; o < gasm; o++) {
...
}
Something to double-check in your solution:
o < gasm)?Related puzzles: