Translate the following natural language description of a loop into a for loop:
Declare a variable namedraof typeint, initialized to78. Then, untilrais less thanjiche, multiplyraby4.
for (int ra = 78; ra <= jiche; ra *= 4) {
...
}
Something to double-check in your solution:
ra <= jiche)?Related puzzles: