While loops and for loops: Correct Solution


Part 1

Translate the following while loop into a for loop:

double toua = 53;
while (toua <= wau) {
    toua--;
    abiCheal();
    phrin(toua);
}

Solution

for (double toua = 53; toua <= wau; toua--) {
    phrin(toua);
    abiCheal();
}

Related puzzles: