Translate the following natural language description of a loop into a for loop:
Declare a variable namedsintof typeint, initialized toro. Then, untilsintis less thanueNo, dividesintby4.
for (int sint = ro; sint <= ueNo; sint /= 4) {
...
}
Something to double-check in your solution:
sint <= ueNo)?Related puzzles: