Write a program to input marked price and discount of a product and print it's selling price. (JAVA)
Answers
Answered by
0
Answer:
How to calculate a discount on a product?
A: Discount is defined as the reduction in the price something you sell to the customers. Most of the discount rate is given in percentage rate.
Here is the formula to calculate the discount:
Discount = List price x Discount Rate
For example :
A pen costs 50$ and it is been sold at a discount of 12%, what is the discount price of the pen?
A: = 50 x 12/100
= 50 × 0.12
= $ 6
Discount price of the pen is : 44$. Hope this help you
Similar questions