Question: i. C code (Efficient logic, use of loops and conditional statements) and testing. The comments for different steps in the code should be included [20

 i. C code (Efficient logic, use of loops and conditional statements)and testing. The comments for different steps in the code should beincluded [20 Marks] ii. Short description of code and steps of development

i. C code (Efficient logic, use of loops and conditional statements) and testing. The comments for different steps in the code should be included [20 Marks] ii. Short description of code and steps of development process to design the code including flow chart. ask 2. Consider an automated teller machine (ATM) in its simplest form as shown in the figure. Initially, the ATM machine is in the Idle state, when a user inserts the card then it updates the state and processes the card. After the card processing, ATM changes its state and ask the user to enter the PIN number. Consequently, after getting the correct PIN number it provides the options such as balance inquiry, cash withdrawal, bill payment or cash deposit and the state is updated accordingly. When the task is completed, it returns the card to the user and updates its state to idle state. Write a C program that simulate this ATM machine. Furthermore, you are required to write a short report to show steps of your design and code review process

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!