While loops and for loops: Correct Solution


Part 1

Translate the following while loop into a for loop:

int pahe = 32;
while (pahe != woOss) {
    pahe++;
    askass(pahe);
}

Solution

for (int pahe = 32; pahe != woOss; pahe++) {
    askass(pahe);
}

Related puzzles: