barasamer5678910

barasamer5678910

Lv2

barasamer5678910

0 Followers
0 Following
1 Helped

ANSWERS

Published12

Subjects

Geography1Algebra2Computer Science4Accounting1Calculus3Chemistry1
z = 2e13πi/6 = (2e13π/6)i = (333.333333333333+0i)i = 0 + 333.333333333333i z...
To solve this problem algebraically, we can first use the given equation to fi...
1+1 is equal to 2
To find the dot product of two vectors u and v, we can use the formula: u * v ...
If y varies directly as z and z varies directly as y, then y and z are directl...
The solubility of Ca3(PO4)2, also known as calcium phosphate, depends on the t...
Climate change refers to the long-term warming of the planet and the changes i...
C8H12O2 is the molecular formula for an ester. It indicates that the molecule ...

An automatic teller machine (ATM) is used by the customers of a bank. Each customer has an account number, a customer name and a personal identification number (PIN); account number and PIN are required to gain access to the account. In a real ATM, the account number would be recorded on the magnetic strip of the ATM card. In this simulation, the customer will need to type it in. With the ATM, customers can log in to their account and make transactions. This process is repeated until the customer chooses to exit. The transactions can be made under the account as follows: 1. Check balance – This is to allow customer to check balance amount in the account. 2. Deposit amount – This is to allow customer deposit amount into his/her account. Ask user for deposit amount; new balance should be updated in the account. 3. Withdraw amount – This is to allow customer withdraw amount from his/her account. Ask user for withdrawal amount; new balance should be updated in the account. You are required to make sure the customer has sufficient balance for withdrawer. 4. Transfer amount (to other customer) – This is to allow customer transfer amount to other customers. Ask user for account numbers of transferee and transfer amount. Then search for the customer records using the input number; new balance should be updated in both accounts (transferor and transferee) if the transferee record is found. If the transferee record is not found, display error message. 5. Check history – This is to allow customer to check history of transactions. Display the list of transactions forward according to transaction date. Each display should contain an appropriate heading and column captions. Note that this is an advance question. You are required to modify the structure definitions from array of structures to nested arrays of structures for this task. Make sure the first four processes (check balance, deposit amount, withdraw amount and transfer amount) work well before attempting this question. Your final mark will be affected if you fail to implement the first four processes when attempting to implement this process (check Write an application in C++ to process customer transactions. Because this is a simulation, the ATM does not actually communicate with a bank. It simply loads a set of account numbers, PINs and balance amounts from a text file. Gather data on at least 5 customer records and prepare them in the text file(s). As each customer record is read, insert it into a list by using an array of structures. After building the list (array of structures), display a menu allowing customer to make transactions. When user chooses to exit the application, the program will write the updated data in the list (array of structures) to the text file. Prepare the necessary data file(s) for building the data structure(s) needed in your application. You may give additional assumptions for your application. To make your program more robust and avoid problems at run time, do as much status/error checking as you can in your program. You may also add more features and/or record more details of customers in your program for enhancement.

This appears to be a programming assignment that involves creating a simulatio...
This code appears to be written in the Processing programming language and it ...
This appears to be a piece of code written in the C programming language. The ...
Answer: o give customers the right amount of money and the least number of coi...

Weekly leaderboard

Start filling in the gaps now
Log in