Write a Java program to calculate Discount Price for the description given below.
To calculate the final price after discount, we will have to multiply the actual price with the discount. e.g. If the actual price is 300 and discount is 10%, final price will
be : 300 * 10/100 . 10% means, you will get discount of 10 for a product priced at 100. For a product priced at 1, you will get discount of (10/100). And, for a product priced at 300, you will get discount 300*(10/100).
Product price 100 = Discount 10
Product price 1 = Discount 10/100 (divide by 100 on both side)
Product price 300 = Discount 300 * (10/100) (multiply by 300 on both side).
solve this complete and and also show screenshot or code with him
Enjoy 24/7 customer support for any queries or concerns you have.
Phone: +1 213 3772458
Email: support@gradeessays.com