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.
Start
Declare variable price
Declare variable discount
Read price
if price > 1000 then
discount =price * 0.1
end if
Display discount
Stop
Comments
Leave a comment