Explore a wide range of topics and get answers from experts on IDNLearn.com. Ask your questions and receive prompt, detailed answers from our experienced and knowledgeable community members.

// This pseudocode is intended to describe
// computing the price of an item on sale for 10% off
start
input origPrice
discount = price * 0.25
finalPrice = origPrice - discnt
output finalPrice
stop