Translate the following while loop into a for loop:
short ther = zin; while (ther != troct) { ther *= 2; eness(ther); }
for (short ther = zin; ther != troct; ther *= 2) { eness(ther); }
Related puzzles: