could i perhaqps do it with if statements for instance
if (quantityPurchased >= 5 && quantityPurchased <=9)
additionalDiscount = (unitPrice * 5) / 100 * 10;
...
Type: Posts; User: teeej86
could i perhaqps do it with if statements for instance
if (quantityPurchased >= 5 && quantityPurchased <=9)
additionalDiscount = (unitPrice * 5) / 100 * 10;
...
hey community, I'm working on the final component of my assignment and cant figure out how to do a calculation in regards to applying discounts. For my assignment I need to apply a 10% discount on...