A program is a sequence of instructions
Computers are very literal. If you give them several instructions, the order matters.
A sequence is simply the set of steps the program should run. Unless something changes the flow, the computer starts at the top and works downward.
- Create a value.
- Change the value.
- Display the result.
Think of a recipe: doing the right steps in the wrong order can still produce the wrong result.
Try it: Write three plain-English steps for making a sandwich in the order they must happen.