Create a program that will compute the total sales for a specific order of T-shirts (Each T-shirt costs
P105.00 ) with the following table of discounts:
# of T-Shirts
1 – 5 5% Discount
6 – 10 7% Discount
11 – 15 10% Discount
Above 15 20% Discounts
Sample Input/Output:
Enter Number of T-Shirts: 12
Your total payable is 1134.
Explanation for the above sample:
** Since the user wants to buy 12 shirts x 105 each = 1,260 then for 11-15 t-shirts she could get
10% discount which is 126 (1260*.1) so the total payable is 1,134.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment