Count down
Run a loop backwards and stop at the right moment.
What to do
Count down from 5 to 1, showing one number per line, then show Liftoff on its own line.
Six lines of output in total. Make sure the loop stops -- it should not show 0.
Your code Read-only reference Pseudocode
Output
Press Run to see what your code does.
Stuck on the idea rather than the typing? The lesson behind this set is Loops & Repetition on Learn to Write Code.