Computers and Technology, 05.12.2019 18:31 saintsfan2004
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
Answers: 2
Computers and Technology, 22.06.2019 21:00
Describir textbook icon_person mira los dibujos y describe lo que está pasando. usa los verbos de la lista.
Answers: 1
Computers and Technology, 23.06.2019 06:40
How many nibbles can be stored in a 16-bit word?
Answers: 1
Computers and Technology, 23.06.2019 19:30
Amitha writes up a one-page summary of a novel during her summer internship at a publishing company. when she reads over the page, she realizes she used the word “foreshadow” seven times, and she would like to reduce the repetition. which tool would best amitha solve this problem?
Answers: 3
Computers and Technology, 24.06.2019 11:00
In three to five sentences, describe how you can organize written information logically and sequentially
Answers: 1
Define the class bankaccount to implement the basic properties of a bank account. an object of this...
English, 16.08.2020 02:01
English, 16.08.2020 02:01
Mathematics, 16.08.2020 02:01
Mathematics, 16.08.2020 02:01
Mathematics, 16.08.2020 02:01
Mathematics, 16.08.2020 02:01
Mathematics, 16.08.2020 02:01
Biology, 16.08.2020 02:01
History, 16.08.2020 02:01
Mathematics, 16.08.2020 02:01
Mathematics, 16.08.2020 02:01