subject

Define the class bankaccount to implement the basic properties of a bank account. an object of this class should store the following data: account holder’s name (string), account number (int),account type (string, checking/saving), balance (double), and interest rate (double). add appropriate member functions to manipulate an object. your program only needs to deal with one account. write a test program in c++ to illustrate how to use your class. ! as an example, a sample run should look similar to the following (realize the same functionalities): 1: enter 1 to add a new customer.2: enter 2 for an existing customer.3: enter 3 to print customer’s data.9: enter 9 to exit the program.1enter customer's name: zhu wangenter account type (checking/savings): checkingenter the account number you would like to use: 12345enter amount to be deposited to open account: 300enter interest rate (as a percent): 0.81: enter 1 to add a new customer.2: enter 2 for an existing customer.3: enter 3 to print customer’s data.9: enter 9 to exit the program.2enter account number: 123invalid customer id.1: enter 1 to add a new customer.2: enter 2 for an existing customer.3: enter 3 to print customer’s data.9: enter 9 to exit the program.2enter account number: 123451: enter 1 to make a deposit.2: enter 2 to withdraw.3: enter 3 to check balance.9: enter 9 to exit.1enter amount to be deposited: 201: enter 1 to make a deposit.2: enter 2 to withdraw.3: enter 3 to check balance.9: enter 9 to exit.3account holder name: zhu wangaccount type: checkingaccount number: 12345balance: $320.00interest rate: 0.80%1: enter 1 to make a deposit.2: enter 2 to withdraw.3: enter 3 to check balance.9: enter 9 to exit.2enter amount to be withdrawn: 1601: enter 1 to make a deposit.2: enter 2 to withdraw.3: enter 3 to check balance.9: enter 9 to exit.3account holder name: zhu wangaccount type: checkingaccount number: 12345balance: $160.00interest rate: 0.80%1: enter 1 to make a deposit.2: enter 2 to withdraw.3: enter 3 to check balance.9: enter 9 to exit.91: enter 1 to add a new customer.2: enter 2 for an existing customer.3: enter 3 to print customer’s data.9: enter 9 to exit the program.3account holder name: zhu wangaccount type: checkingaccount number: 12345balance: $160.00interest rate: 0.80%1: enter 1 to add a new customer.2: enter 2 for an existing customer.3: enter 3 to print customer’s data.9: enter 9 to exit the program.9

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
Need asap write a short paper describing the history and differences between six sigma, waterfall, agile, and scrum models. understanding these models can give you a good idea of how diverse and interesting it development projects can be. describe what the rationale for them is and describe their key features. describe the history behind their development. at least 400 words
Answers: 1
question
Computers and Technology, 23.06.2019 02:30
Three out of five seniors remain undecided about a college major at the end of their senior year.
Answers: 3
question
Computers and Technology, 23.06.2019 13:30
Select the correct answer from each drop-down menu. which types of computer networks are bigger as well as smaller than a man? a man is a network of computers that covers an area bigger than a , but smaller than a .
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
The computers in the sales department did not have enough data storage capacity to contain all the information the department needed to store, and it was taking a long time for team members to access the data they needed. to fix the problem, the technician installed new, larger hard drives on all the computers.
Answers: 1
You know the right answer?
Define the class bankaccount to implement the basic properties of a bank account. an object of this...
Questions
Questions on the website: 13722363