need help writing pseudocode
input origprice
set discount = price * 0.20
set finalprice = origprice - discount
output final
stop

This should be in the software devlopment section of the forum.

The only problem I see with your pseudocode is that price should be written as origprice.

....and output final should be finalprice

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.