The code will prepare by C language** Design an ATM module with full money deposit/withdraw features. The module will have a control pad(4*4 keypad) and PUTTY display interface on PC. The details of the design are as below. Input a 4-digit card pin password associated with your 7-digit bank account, using a control device (for ex.: keypad) Check entered password, if it is wrong display an error message, give up to 3 tries. If correct open the ATM menu on the computer PUTTY screen. The user has 3 accounts with different 7-digit account IDs and passwords. ATM menu operations: User can withdraw/deposit money from their account. ATM should have a finite amount of paper bill with varying value (i.e., x amounts of 100 TL, 20TL, 10TL, 5TL)

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section: Chapter Questions
Problem 10PP
icon
Related questions
Question

**The code will prepare by C language**

Design an ATM module with full money deposit/withdraw features. The module will have a control pad(4*4 keypad) and PUTTY display interface on PC.

The details of the design are as below.

  • Input a 4-digit card pin password associated with your 7-digit bank account, using a control device (for ex.: keypad)
  • Check entered password, if it is wrong display an error message, give up to 3 tries.
  • If correct open the ATM menu on the computer PUTTY screen.
  • The user has 3 accounts with different 7-digit account IDs and passwords.
  • ATM menu operations:
  • User can withdraw/deposit money from their account.
    • ATM should have a finite amount of paper bill with varying value (i.e., x amounts of 100 TL, 20TL, 10TL, 5TL)
    • The withdrawn mount will be subtracted from user’s account.
    • If user wants a withdrawal that is not possible with the current currency, the maximum possible amount should be given.
    • Deposits also done with paper bills, specifying bill value and amount(i.e., depositing 10of 100 TL bills)
  • Change pin password.
    • Using keypaduser will be able to set new password.
    • If the new password has 2 or more of the same digits, display an error message. Allow user to retry.

 

  • Money Transfer.
    • User will be able to transfer x amount money to another one of his accounts.
    • Transfer will take 30 Seconds to complete. User can cancel the transaction within this time.
    • If a transfer is received in this account, display a message with transfer information.

 

    • User exits the ATM menu.
    • Finishes the account operations and waits for new access.
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Function Arguments
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning