Variable Definition
A letter/symbol representing
an unknown value
Examples of a Variable:
Use letters such as x, y, z for variables
Variable Tips for a known type:
For objets like apples or cars...
Always use the
first letter of the object
For apples, use the variable
aFor cars, use the variable
cWhen to use arbitrary variables:
Arbitrary variable phrases:
a number,
an unknown numberthen you must pick a variable.
Use
x as an arbitrary variable
Variable Examples:
Example | Variable | John's age | a |
Mary's height | h |
Let statement:
The let statement is a short phrase
It restates what you are solving for.
Let a be John's age