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

Recommended Answers

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.

Jump to Post

All 2 Replies

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 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.