dimanche 28 octobre 2018

Nested if C++ multiple values

im new to c++ programing. i have to make a program to calculate prices and discounts but im not entirely sure how to code. we have to use nested if. *condition Total purchase 10-25 (discount 10%) " 26-50 (discount 10%) " 51-100 (discount 15%) ">100 (discount 20%)

im not entirely sure how to code. can someone please help?

Aucun commentaire:

Enregistrer un commentaire