Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using ATM program and C# language For a deposit, the user must enter the amount and, if required, be able to select the account type

Using ATM program and C# language For a deposit, the user must enter the amount and, if required, be able to select the account type to be credited. The chequing account is the default for this transaction. There is no maximum amount. For a withdrawal, the user must enter the amount and, if required, be able to select the account type to be debited. The chequing account is the default for this transaction subject to a maximum of $1,000. If the user enters an amount greater than $1000, the system must present a message indicating that $1000 is the maximum per withdrawal. The ATM accepts only transactions for which the amount entered is a multiple of $10. 

There is no maximum amount (apart from the user’s account balance) in which case the system must also inform the user if the account balance is less than the transaction amount. In addition, the ATM Machine starts its day with a full $20,000 in funds. Each withdrawal must also be validated against the amount left in the machine If the withdrawal amount is greater than the amount left in the machine, the system must inform the user that the machine has insufficient funds (not the user account)

For a transfer, the user must enter the amount and the type of transfer (from chequing to savings, or savings to chequing). This transaction is subject to a maximum of $10,000 (or the user’s account. The system must also validate that the account balance from which the amount is being transferred has sufficient funds to cover the transaction amount.  For a bill payment, which is done from a chequing account only, the user must enter the amount of the transaction. The chequing account is debited by the same amount. In addition, a $1.25 fee is charged to the chequing account. The maximum per transaction is $10,000 (or the user’s chequing account balance). Note that if the $10,000 maximum bill payment is made, then the actual amount removed from the account is $10,001.25

The application must check the account balance before doing a transaction. Any transaction that would result in a negative balance must be rejected.

The balance of the account affected by a transaction should be updated and displayed after each transaction.

The user should be able to do as many transactions as he or she would like to do before leaving the ATM.

A warning message should inform the user that the ATM can no longer carry out withdrawals when there is no money available. When a withdrawal transaction event occurs for an amount greater than the balance remaining in the ATM, the ATM should advise the user that they can change the transaction amount to the amount still available in the ATM.

Each time the application starts, the ATM checks DailyBalances.txt to see if it contains a record with today’s date. If not, then this is the first time the ATM is used today, and it automatically sets the ATM’s balance to $20,000 and adds a record to DailyBalances.txt Below is the structure of the DailyBalances data source (database table or text file, your choice) in which the ATM’s daily balances are stored:

Date (DateTime)

ATM balance (single) The functions concern the ATM's functioning with respect to the system administrator and the internal mechanisms of the ATM, not the user.

Step by Step Solution

3.48 Rating (158 Votes )

There are 3 Steps involved in it

Step: 1

students name institution instructors name course title due date Answer 1 When a user is making a deposit to a chequing account from the ATM there is no maximum amount and the user only needs to enter ... 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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Economics questions