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)

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education