2.Write a program to store 10 product names, their price quantity in 3
different arrays. Calculate 10% discount on the total price (price*quantity)
for each product and display the output as
Product Name Price Quantity TotalPrice Amount after discount
Answers
Answered by
1
Answer:
The basic way to calculate a discount is to multiply the original price by the decimal form of the percentage. To calculate the sale price of an item, subtract the discount from the original price.
Explanation:
$50 Answer.
Therefore, 10% of 500 would be 50. It is that simple. Another way of figuring this out would be multiplying 500 with . 10 or .
Similar questions