Answer to Question #272861 in Databases | SQL | Oracle | MS Access for beejay

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.


1
Expert's answer
2021-11-29T00:00:36-0500
Start
    Declare variable price
    Declare variable discount 
    Read price 
    if price > 1000 then
       discount =price * 0.1
    end if    
    Display discount
Stop

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS