The Acme Software Company sells its "Adding Tutor" software for $109.Quantity discount are given using the following table:
Quantity Discount
10-19 20%
20-49 30%
50-99 40%
100 or more 50%
Write a program that asks for the number of units sold and calculates the total cost of the purchase including discount. Adjust the totalby the sales tax (use 7.75%). Display the total cost, the discount, the sales tax and adjusted amount due. Display a warning and end the program if the number of units sold isnot greater than 0
I have finish but I couldn't calculate and it not work..Can anyone help me please
As you've gotten it 95% right, I will post a modified version of this app that you can use as a reference. Don't use it as your assignment or your instructor may get you to explain why you did it that way.
Can you help me make it look right. Because When I did it. It not show the calculation at all. So I think that's not right so we have to use switch or something. Thanks for you help. It due today. It hard when it run.
Basically all I did with your code is eliminate redundancy. Only have conditionals do what they need to rather than duplicate the same code over and over again.
Please don't label your thread as Urgent-- it implies that your problem is more important than others. Help is given here on a first-come, first-served basis.