Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can someone help me with this please? I am strugling badly.. The is the place to see the correct discription http://cs.uky.edu/~kwjoiner/cs215/projects/proj2/proj2.pdf Learning Objectives: Use of

Can someone help me with this please? I am strugling badly..

The is the place to see the correct discription http://cs.uky.edu/~kwjoiner/cs215/projects/proj2/proj2.pdf

image text in transcribed

image text in transcribed

image text in transcribed

Learning Objectives: Use of parallel arrays to store data Writing functions from a detailed design document Reading data from files and writing data to files More problem solving with variables, decisions and loops - General Description: You are to implement an Automatic Teller Machine (ATM) for a small bank. Each day, the machine is started up by the bank's IT support. At this time, the ATM reads a list of current accounts, Personal ld Numbers (PINs), and account balances from a file Once started, customers use the ATM to make deposits, withdrawals and balance inquiries. For each customer, the ATM asks for and validates the account number and PIN number, then performs the deposit/withdrawal/balance-inquiry for the customer. For each successful withdrawal and deposit, the ATM maintains a list of transactions, including account number and amount for each, and updates the account's current balance. The ATM is limited to a maximum number of total withdrawal/deposit transactions it can process per day, and will refuse to do deposits and withdrawals once this limit is surpassed At the end of the day, IT support enters a secret account number and PIN (10000 and 1000). Once entered, the ATM shuts down, writing the list of transactions to a file About the data Account Numbers are length 12 or less, made up of any characters, but no white space -PINs are integers of four digits Balances are assumed to not exceed $99999.99 - Detailed Description: Start Up - The logo is displayed, and a startup message printed M STARTU rror read ing aeent - The account file is read in. When there is an error reading the file, an error message is printed and the shutdown process (see below) is completed When there is not an error, a report of the account data read from the file is printed hit dos lete STARTUP File format - File name: "accounts.txt" -First Line: the number of accounts -Each following line, one per account account# pin and balance, separated by a space 3 MB-2222-2222 2222 333.33 4 B1-3333-3333 3333 444.44 - The ATM then proceeds to processing customers 4444 4444 555.55 Learning Objectives: Use of parallel arrays to store data Writing functions from a detailed design document Reading data from files and writing data to files More problem solving with variables, decisions and loops - General Description: You are to implement an Automatic Teller Machine (ATM) for a small bank. Each day, the machine is started up by the bank's IT support. At this time, the ATM reads a list of current accounts, Personal ld Numbers (PINs), and account balances from a file Once started, customers use the ATM to make deposits, withdrawals and balance inquiries. For each customer, the ATM asks for and validates the account number and PIN number, then performs the deposit/withdrawal/balance-inquiry for the customer. For each successful withdrawal and deposit, the ATM maintains a list of transactions, including account number and amount for each, and updates the account's current balance. The ATM is limited to a maximum number of total withdrawal/deposit transactions it can process per day, and will refuse to do deposits and withdrawals once this limit is surpassed At the end of the day, IT support enters a secret account number and PIN (10000 and 1000). Once entered, the ATM shuts down, writing the list of transactions to a file About the data Account Numbers are length 12 or less, made up of any characters, but no white space -PINs are integers of four digits Balances are assumed to not exceed $99999.99 - Detailed Description: Start Up - The logo is displayed, and a startup message printed M STARTU rror read ing aeent - The account file is read in. When there is an error reading the file, an error message is printed and the shutdown process (see below) is completed When there is not an error, a report of the account data read from the file is printed hit dos lete STARTUP File format - File name: "accounts.txt" -First Line: the number of accounts -Each following line, one per account account# pin and balance, separated by a space 3 MB-2222-2222 2222 333.33 4 B1-3333-3333 3333 444.44 - The ATM then proceeds to processing customers 4444 4444 555.55

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

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions