PEMDAS
All at the same level are treated equally
PEMDAS
All at the same level are treated equally
strings
String has quotation marks
This is the first example we have seen of a semantic error: the code runs without producing an error message, but it doesn’t do the “right” thing.
Example of sematic error
“17” and “3.2”?
string will always have quotation marks
You can identify strings because they are enclosed in quotation marks.
Remmeber
“Hello World!” is a string
string indicates letters