Translate the following natural language description of a loop into a for loop:
Declare a variable namedscreof typeint, initialized toong. Then, untilscreis less than or equal toveng, subtract4fromscre.
for (int scre = ong; scre < veng; scre -= 4) {
...
}
Something to double-check in your solution:
scre < veng)?Related puzzles: