MATLAB Programming ATM Project You have been assigned to program a ATM, which has the following currency notes of different denominations stocked in it. Serial # 1 2 3 Denominations of the currency Noted 500 100 50 20 10 Number of Stored Notes 500 1,000 2,500 4,500 3,000 2,000 1,000 750 4 5 6 5 2 7 1 The program should ask the user the amount of money they want to withdraw in a range from 1 to 25000. The ATM should satisfy the following rules 1. Machine should give the customers a. Maximum higher available denomination currency notes b. At least each possible, available denomination currency notes (from higher to lower denomination) For example, if stock is full and user ask to with draw 4789 then machine should give currency notes in the following way Serial # 1 2 3 4 5 6 7 8 Denominations of the currency Noted 500 100 50 20 10 5 2 1 Number of Notes given to Customer 9 2 1 1 1 1 1 2
Comments
Leave a comment