Answer to Question #286440 in Algorithms for Sujal

Question #286440

Write an algorithm, Pseudo Code and Flow Chart for the following scenario:



Suppose you are having Rs. 500. You have purchased one pen priced Rs. 25.0 per



unit, 3 notebooks priced 45 per unit, 1 drawing copy priced 50 per unit. You give the



currency of Rs. 200 to the shopkeeper. Find out the amount shopkeeper will return to



you and also tell the total item purchased.

1
Expert's answer
2022-01-10T17:31:24-0500

input:

t = 500 \ amount that you are having


s = 25 + 3*45 + 50

r = t - s \ amount that shopkeeper will return


output:

r

display: 'items purchased: 1 pen, 3 notebooks, 1 drawing copy'





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