Test Yourself: What are the errors?

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