Variables and Memory
Initially, the value of a variable is undefined. A variable must be initilialised before its value is used.
3 ways to assign a value into a variable
- Initialising the variable at declaration
- Use the assignment statement
- Use the input function