Question: write a problem analysis and solution of the problem attached below 26. Cost of Flash Drives A company sells 16 GB flash drives for $5.99
26. Cost of Flash Drives A company sells 16 GB flash drives for $5.99 each and 32 GB flash drives for $9.99 each. However, large-quantity orders of flash drives of the same type receive discounts. Orders of between 25 and 49 flash drives receive a 10% dis- count, orders of between 50 and 99 flash drives receive a 15% discount, and orders of 100 or more flash drives receive a 20% discount. Write a program that uses the type and quantity of flash drives ordered, and calculates the cost of the order. See Fig. 4.59
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
