Question: Using Java Acme Shirts sells shirts in all sizes and colors for $19.95 each, but they offer discounts for quantities as follows: 40% discount for

Using Java

Acme Shirts sells shirts in all sizes and colors for $19.95 each, but they offer discounts for quantities as follows:

  • 40% discount for 12 or more shirts.
  • 30% discount for 8 - 11 shirts.
  • 20% discount for 5 - 7 shirts.
  • 10% discount for 3 or 4 shirts.

3. Write a program that prompts the user to enter an order quantity and then determines the total cost of the order. Use a switch.

4. Redo the Acme Shirts program but without using a switch.

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!