3 Answers. You must use something like this: if(score >= 10 && <= 19 ) { discount = 0.20; } else if(score >= 20 && <= 49) { discount = 0.30; } And so on….27 Eyl 2014
Read moreHow do you write a discount program in C?
36 : C Program to Calculate Discount Amount
Read moreHow do you write a discount program in Java?
Java program to calculate discount price :
Read moreWhat is the formula to calculate discount?
The formula to calculate the discount rate is: Discount % = (Discount/List Price) × 100 .
Read moreHow do you calculate discounts in Java?
Java program to calculate discount price :
Read moreWhat is the equation for calculating discount?
Remember the formula for finding the discount price of an item. Where S = sale price, r = discount percentage rate and p = original price, the discount formula is: S = p – rp .
Read moreHow do you calculate discounts step by step?
How do I calculate discount in percentages?
Read more