Question: Shipping Calculator Create a C + + program that calculates the total cost of an order including shipping. Use the following table to calculate shipping

Shipping Calculator
Create a C++ program that calculates the total cost of an order including shipping.
Use the following table to calculate shipping cost:
COST OF ITEMS SHIPPING COST
===========================
<50.008.95
50.00-99.9911.95
100.00-199.9913.95
>=200.00 FREE
After entering the cost of items, your program validates the user input (the cost value) so only values that are greater than 0 should be accepted and processed; otherwise, no processing can occur and the program displays an error message for the user and exits. Hint: use this if statement after the input statement:
if cost_of_items >0:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!