Question: Write a program that allows the user to input a total dollar amount for an online shopping order and computes and outputs the shipping cost

Write a program that allows the user to input a total dollar amount for an online shopping order and computes and outputs the shipping cost based on the following schedule:

Order Total Ship within USA Ship to Canada Less than $50.00 $6.00 $8.00 $50.01-$100.00 $9.00 $12.00 $100.01-$150.00 $12.00 $15.00 Over $150.00 Free Free

Order Total Ship within USA Ship to Canada Less than $50.00 $6.00 $8.00 $50.01-$100.00 $9.00 $12.00 $100.01-$150.00 $12.00 $15.00 Over $150.00 Free Free

Step by Step Solution

3.50 Rating (170 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

include using namespace std int main inttotalCost cout Enter total cost cin tota... View full answer

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 Prelude to Programming Questions!