Write a windows console application that simulates an Automated Teller Machine (
ID: 3634899 • Letter: W
Question
Write a windows console application that simulates an Automated Teller Machine (ATM) menu similar to the following (this program assumes you are uniquely logged in).
Welcome to the DeVry Bank Automated Teller Machine
1. Check balance
2. Make withdrawal
3. Make deposit
4. View account information
5. View statement
6. View bank information
7. Exit
The result of choosing #1 will be the following:
Current balance is: $2439.45
The result of choosing #2 will be the following:
How much would you like to withdraw? $200.50
The result of choosing #3 will be the following:
How much would you like to deposit? $177.32
The result of choosing #4 will be the following:
Name: (Student’s first and last name goes here)
Account Number: 1234554321
The result of choosing #5 will be the following:
01/01/11 - McDonald’s - $6.27
01/15/11 - Kwik Trip - $34.93
02/28/11 - Target - $124.21
The result of choosing #6 will be the following:
Devry Bank, established 2011
(123) 456-7890
12345 1st St.
Someplace, NJ 12345
The result of choosing #7 will be the following:
*Exit the program - terminate console application.
You will create a Menu Builder class (for menu applications), a Test Menu class (for Main), and a MenuBuilder.h for a total of three files as a demonstration of understanding, creating, and using classes.
Using the pseudocode below, write the code that will meet the requirements
Create a Test Menu class
For main method and to call the Menu Driven class
Create a MenuBuilder Class
This will be where you create statements for the following:
1. Check balance
2. Make withdrawal
3. Make deposit
4. View account information
5. View statement
6. View bank information
7. Exit
Create a MenuBuilder.h
1. Include a header file in your program.
2. This will be where you utilize standardized Identifiers,
preprocessor directives, classes, namespaces, and so forth.
Explanation / Answer
/* ***Automated Teller Machine with authentication routine*** by MikhaeL Franko T. Mogol */ #include int main() { double balance = 10000; double withdraw, deposit; int option; int password; cout password; if (password==123456) for (int i=0;iRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.