Question: Write a program that displays the total amount (including shipping) a customer owes to an online company. The user enters the total amount due before

Write a program that displays the total amount (including shipping) a customer owes to an online company. The user enters the total amount due before shipping. The amount for shipping is based on the customer's membership which can be Premium or Standard. The shipping charges are the following:

Membership

Amount before shipping

Shipping

Standard

0- $1,000

88.99

Over $1,000

49.99

Premium

0- $500

49.99

Over $500

0

The program should use 2 program-defined functions. One to determine the shipping charges for the Premium membership and one for the Standard membership.

NOTE: Input Validation is required.

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