Code Order gives you a working program with its lines shuffled. Tap the lines in the right order to rebuild it. It teaches how programs flow - what has to happen first, what goes inside a loop and when to return.
Variables a loop needs (like total = 0) must be created before the loop.
Lines indented inside a loop or if belong to that block; the closing } or return comes after.
Printing before or after changing a value gives different output - think about what each line needs.
What is a Parsons problem?
Is there only one right order?
How do I get the most points?