Translate the following natural language description of a loop into a for loop:
Declare a variable namedpeof typeint, initialized tokiod. Then, untilpeis greater than or equal topurpe, subtract4frompe.
for (int pe = kiod; pe > purpe; pe -= 4) {
...
}
Something to double-check in your solution:
pe > purpe)?Related puzzles: