Lesson 3: What Is a Variable?
A variable is a named label that points to a value we want to remember — so we can reuse it later in the program.
Picture a labeled box. We write a name on the label (e.g. age) and place a value (e.g. 10) inside.
- variable
- A name that points to a value in memory.
- assignment
- The action name = value that defines a variable.