Variables
Variables name data values in the program
Variables have a type, which is the kind of number or value that they are expected to name
- Integer is the type for “whole numbers”, e.g. 4
- String is the type for “letter sequences”, e.g. “four”
- Others will be introduced when needed
Variables are declared, which means they are listed together with their types at the start of the program or a procedure
Variables are scoped, which means that if they are declared inside a procedure they cannot be “seen” outside the procedure