You list the variables before the statements, like this:
In this case,
area is a variable, and its value is assigned to be
size is also a variable, with a value of
You can also list multiple variables by separating the variables with commas on the same line, like this:
Variables must be one word and can contain both letters and numbers (but can't start with numbers).
If the variable stores text (such as a phrase), the text is called a string. Strings are enclosed in quotes.
Single quotes are also acceptable instead of double quotes, but you must be consistent. You can't start with a double quote and end with a single quote.
I'd Rather Be Writing Newsletter
Get new posts delivered straight to your inbox.