While loops and for loops: Correct Solution


Part 1

Translate the following while loop into a for loop:

long qor = me;
while (qor < shias) {
    qor++;
    thaac(qor, 46);
    iacas();
}

Solution

for (long qor = me; qor < shias; qor++) {
    iacas();
    thaac(qor, 46);
}

Related puzzles: