Have a question?
Message sent Close

CIS170C Programming DU

Instructor
Kevin
Category
  • Description
  • Full Document

DeVry University

CIS170C Programming DU

CIS170C Week 1 Lab 4
ERRORS:
1ST Error: Line cout << “Please enter number 2: ” was missing a “;” semicolon
2nd Error: Line cin << num2; had arrows pointing to the left; it should have been “ >> “ arrows
pointing to the right.
3rd Error: Line average = num1 + num2 + num3 / 3; didn’t follow the order of operations rule, it
needed “ ( )” parenthesis around num1 + num2 + num3 to actually calculate average.

Preview

CIS170C Programming DU

error: