CIS170C All Assignments CIS170C All Assignments | Page 15
shipping is $20.00
Else if sale amount > $1,000.00
shipping is $15.00
Else if sale amount > $500.00
Else
shipping is $0.00
End-If
If shipping is $0.00
Display "Error incorrect input"
Else
Display sale amount and shipping charge
End-If
Step 3: Create a New Project
Create a new project and name it LAB2B. Make sure you close your previous program by
clicking File >> Close Solution. Write your code using the Processing Logic in Part B Step 2.
Step 4: Save Program
Save your program by clicking File on the menu bar and then clicking Save Program.cpp, or by
clicking the Save button on the toolbar, or Ctrl + S.
Step 5: Build Solution
To compile the program, click Debug then Build solution (F7). You should receive no error
messages. If you see some error messages, check the code above to make sure you didn’t key in