Question #272861

Write a program that will ask for a price. If the price is greater than 1000, compute a 10%

discount from the original price. Display the computed discount.


Expert's answer

Start
    Declare variable price
    Declare variable discount 
    Read price 
    if price > 1000 then
       discount =price * 0.1
    end if    
    Display discount
Stop
LATEST TUTORIALS
APPROVED BY CLIENTS