76 984
Assignments Done
98,5%
Successfully Done
In June 2019

Answer to Question #33183 in C++ for Galvani Luigie V Mosqueda

Question #33183
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.

Just using only IF-ELSE condition.
Expert's answer

Not answered

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions