Question: I need help with this Java programming assignment: Duke Shirts sells Java t-shirts for $14.95 each, but discounts are possible for quantities as follows: 1

I need help with this Java programming assignment:

Duke Shirts sells Java t-shirts for $14.95 each, but discounts are possible for quantities as follows:

1 or 2 shirts, no discount and total shipping is $6.00

3-5 shirts, discount is 10% and total shipping is $8.00

6-10 shirts, discount is 20% and total shipping is $10.00

11 or more shirts, discount is 30% and shipping is free

Write a Java program that prompts the user for the number of shirts required. The program should then print the extended price of the shirts, the shipping charges, and the total cost of the order. Use currency format where appropriate.

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!