for (let i = 0; i < 10; i = i + 1) { print i; } let val = true; let j = 0; while (val) { j = j + 1; if (j > 9) val = false; print j; } print "done";