3. Write an algorithm and pseudocode which asks a user to enter the price of an item. Once the user enters the price, calculate the discount at 10% and print the discount amount and the new price after the 10% discount

1 answer

read price
discount = 0.10 * price
sale = price - discount
print discount, sale