Answer:
see explaination
Step-by-step explanation:
Function Real calcDiscountPrice(Real price, Real percentage) // Calculate the discount.
Declare Real discount= (price * percentage) / 100.0 // Subtract the discount from the price.
//dividing by 100.0 because of % concept
Declare Real discountPrice = price - discount // Return the discount price.
Return discount End Function