There are two parts to this assignment.
Examine the pseudocode sample provided, and explain what it does line by line.
Description: This logic applies a discount on an item price
Program: applyDiscount
Create variable productPrice as double
Create variable discount as double
Create variable discountedPrice as double
productPrice = get value from user input
discount = get value from user input
discountedPrice = productPrice * (1 – discount)
Display discountedPrice
End program
Present a solution using pseudocode similar to what you saw in Part 1.