Question: C# Programming Write a program of ATM management using consoleAPP on C#. In the first Menu user must enter his/her credentials, but after x3 there

C# Programming

Write a program of ATM management using consoleAPP on C#.

In the first Menu user must enter his/her credentials, but after x3 there will be an error message when the user entered incorrect input.

--NAME(string) --PIN (String - 4 Characters)

Once the user has been authorized the menu will be --TRANSFER

--BILL PAYMENT

-- DEPOSIT

--WITHDRAWAL

Any operation that the user will made the program will ask an option if chequing account or savings account that the transaction will be done, after selecting which bank account (chequing or savings). The program then ask the amount, then after the transaction been made. It will show a summary

--account type(1 character)

--PIN(String - 4 characters)

--account number( String - 5 Characters)

account balance(single)

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 program 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 program starts its day with a full $20,000 in funds. Each withdrawal must also be validated against the amount left, If the withdrawal amount is greater than the amount left, the system must inform the user 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 $10,000 (or the user's account balance). 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 following functions concern the ATM's functioning with respect to the system administrator and the internal mechanisms of the ATM, not the user.

The system administrator, as any other user, must enter his or her name and PIN (personal identification number) on the same input screen. The system administrator may perform only system transactions (he or she has no personal account).

Once access has been authorized, a special menu is displayed. This menu offers the following options:

there will be another option for admin. this user has an access to everything including this:

SYSTEM ADMIN MENU

  • Pay interest
  • Refill the ATM with money
  • Take the ATM out of service
  • Print the accounts report
  • The supervisor can cause interest to be paid to all savings accounts at the rate of 1% (new balance = current balance + (current balance * 0.01)).
  • The system administrator re-fills the ATM in batches of $5,000. There should not be more than $20,000 available in the ATM.
  • The supervisor can take the ATM out of service, which ends the program (in theory, only the supervisor can end the program - when a regular user exits, it should return to the Welcome screen for another user to login).
  • The accounts report displays all chequing and savings account information for all customers in a textbox.

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!