← William Lee

Loop Quest

Watch a C loop run one step at a time. Every tile is one trip through the loop, and the number on it is the loop variable at that moment.

Code


      
      

Write the part inside main(). Works with int, for, while, do-while, if/else, break, continue and printf.

STEP 0
READY

Press PLAY to watch it run, or STEP to go one move at a time.

Variables

Nothing yet.

Output

Keyboard: Space play or pause, → one step, R reset. Made by William Lee.