Info

This question is closed. Reopen it to edit or answer.

Design an algorithm and write the program for a machine that must give the current amount of change from $500 for any amount of change costing less than $500.The program must specify the number and all notes and coins as possible.

1 view (last 30 days)
design an algorithm and write the program for a machine that must give the current amount of change from $500 for any amount of change costing less than rs 500.The program must specify the number and all notes and coins as possible.Assume purchase=210$ and coins available are rs5,rs1,rs0.5,rs20 and notes available=rs 25 ,rs50, rs100 and rs200 and display should be as follow:
  2 Comments
John D'Errico
John D'Errico on 16 Mar 2016
Very good. You managed to type in your assignment. Now all you need to do is start writing. Think about how you would solve the problem yourself. Surely this is not a difficult problem to do in real money, as people do it quickly and simply every day.
Write a flow chart if necessary. This is always a good thing anyway.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!