Computer Science, asked by keerthanaganesan000, 1 day ago

write an algorithm to calculate purchase amount to be paid after discount. Consider 10% discount for the sale amount above 100​

Answers

Answered by KoulikRoy
2

Answer:

This program calculates the discount amount and the discounted rate for which you get the product for sale.

Variables : price : Datatype float : Actual price of the Product. ...

Functions : printf() : is used to display something on the console/screen. ...

Formula : Discount Amount = (Discount Percentage x Price)/100.

Similar questions