The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 6 Days Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
Compute a program that stimulates an ATM using functions and arrays. (Dev C++)
1. Read the personal identification numbers, names, and balances of 2+ customers (using input txt file) into appropriate one dimensional array or individual variables and display the information. (one function needs to read the data, and the other function needs to output the data.
2. A screen must display with correct bank information followed by a prompt for user to enter a personal identification number. Read the personal identification number. (Function with reference parameter)
3. Match the personal identification number to the correct user, and inform the user if there is no match, then go to step 2.
4. If the personal identification number matches the correct user, then
a. Welcome the customer by their first name
b. Display option to
1. view balance
2. deposit
3. withdraw
4. exit
5. “Deposit” function (value returning function) must prompt customer to enter the deposit amount, and display the latest balance. Go to step 2 upon exit.
6. “Withdraw” function (void function) must prompt customer to enter the withdrawal amount, and display the updates balances. Go to step 2 upon exit.
7. “Exit” must take user to step 2
8. Should an incorrect option be selected, notify user and go to step 2.
*****Here is the input.txt file that needs to be included in the program***
*****Copy and Paste to notepad*****

----------- ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly