Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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) image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DNA Databases

Authors: Stefan Kiesbye

1st Edition

0737758910, 978-0737758917

More Books

Students also viewed these Databases questions

Question

What is cost plus pricing ?

Answered: 1 week ago

Question

1. What are the types of wastes that reach water bodies ?

Answered: 1 week ago

Question

Which type of soil has more ability to absorb water?

Answered: 1 week ago

Question

=+j Describe how EU directives impact IHRM.

Answered: 1 week ago

Question

=+and reduction in force, and intellectual property.

Answered: 1 week ago