Test
Yourself: What are the errors?
- Integer
is spelled wrong. Also, must be Dim intNum1 as integer, intNum2 as integer.
- Uses letter O instead of number
0
- OK
- Total does not yet have a value,
cannot use on right side.
- Cannot have an expression on
the left of the assignment statement. Should be total = num1 + num2.
- Needs a second quote before
the semi-colon: “The total is”;