Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

need to have a program that calculates shipping costs. The shipping company has

ID: 3626146 • Letter: N

Question

need to have a program that calculates shipping costs. The shipping company has the following discount percentages:
shipping cost: $100 or less, discount %: 1.4%
shipping cost: $100.01 to $1000, discount %: 1.9%
shipping cost: $1,001 to $2,500, discount %: 2.6%
shipping cost: $2500.01 or more, discount %: 3.3%

Package type shipping cost:
1.) The program is dealing with "T-shirts": cost is number of items * $2.75 per item. For optional overnight delivery, add $10.00. Optional insurance is 2% of the cost.


For each package type, print out the name, address, city, state, and zipcode for the customer. Also, print out the date the package is expected to arrive, along with the cost after the discount is subtracted off. Please make sure to include output for this "t-shirts" package.

The program should use virtual functions including at least one pure virtual function with polymorphism. The program should have one class for its package along with a base class that contains the appropriate data members and methods.
Share:
by email on facebook

Explanation / Answer

Make sure the shipping cost are correct and use the variables correctly