Question: Please write answer in assembly language (this is going to be run on the Raspberry PI) CS309 Lab 5 ARM Advance Program Teller Machine Your

Please write answer in assembly language (this is going to be run on the Raspberry PI)  Please write answer in assembly language (this is going to be

CS309 Lab 5 ARM Advance Program Teller Machine Your program will simulate the one-day operation of a simple teller machine. The teller will dispense, upon request, S20, and $10 bills up to $200 total per customer. Your software will perform the following 1. Display a welcome message and instructions on how to make a valid withdraw 2. Reject any invalid withdraw requests. Examples: must bea multiple of 10, and must not be greater than $200. Assume the customer can only enter numbers on a 10-digit keypad (0-9) 3. When filling a valid withdraw request disperse S20 bills 4. When all the $20 bills are gone disperse $10 bills to fulfill 5. Limit the total number of withdraws to 10. Invalid requests 6. If there are insufficient funds on hand for a withdraw 7. Once the inventory of bills is depleted or maximum first. the request. do not count as a transaction. inform the customer and ask them to enter a lower request. withdraws is reached display an ending message and stop the program. 8. When the program ends print out: Total number of valid transactions, Number of $20s distributed, Number of $10s distributed, total amount of money distributed, remaining funds on hand. 9. The program will allow the entry of a secret code that when entered will display the following data: a. Inventory of $20 and S10 bills b. Remaining balance on hand c. Current number of transactions d. Total distributions made so far Suggest the secret code be when a -9 is entered for the withdraw amount request. CS309 Lab 5 ARM Advance Program Teller Machine Your program will simulate the one-day operation of a simple teller machine. The teller will dispense, upon request, S20, and $10 bills up to $200 total per customer. Your software will perform the following 1. Display a welcome message and instructions on how to make a valid withdraw 2. Reject any invalid withdraw requests. Examples: must bea multiple of 10, and must not be greater than $200. Assume the customer can only enter numbers on a 10-digit keypad (0-9) 3. When filling a valid withdraw request disperse S20 bills 4. When all the $20 bills are gone disperse $10 bills to fulfill 5. Limit the total number of withdraws to 10. Invalid requests 6. If there are insufficient funds on hand for a withdraw 7. Once the inventory of bills is depleted or maximum first. the request. do not count as a transaction. inform the customer and ask them to enter a lower request. withdraws is reached display an ending message and stop the program. 8. When the program ends print out: Total number of valid transactions, Number of $20s distributed, Number of $10s distributed, total amount of money distributed, remaining funds on hand. 9. The program will allow the entry of a secret code that when entered will display the following data: a. Inventory of $20 and S10 bills b. Remaining balance on hand c. Current number of transactions d. Total distributions made so far Suggest the secret code be when a -9 is entered for the withdraw amount request

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!