I just posted this question and I was given a response that was just a cut and paste of code that was already on answers a

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

I just posted this question and I was given a response that was just a cut and paste of code that was already on answers a

Post by answerhappygod »

I just posted this question and I was given a responsethat was just a cut and paste of code that was already on answers andit doesn't work.
Can you help me in C++ please
Define the class "bankAccount" to implement the basic propertiesof 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).
(Store interest rate as a decimal number.) Add appropriatemember functions to manipulate an object. Use a static memberinthe class to automatically assign account numbers. Also, declare anarray of 10 components of typebankAccount to process up to 10 customers and write a program toillustrate how to use your class.
1: Enter 1 to add a new customer.2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.1Enter customer's name: Sara RawlingsEnter account type (checking/savings): checkingEnter amount to be deposited to open account: 5000Enter interest rate (as a percent): 41: Enter 1 to add a new customer.2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.2Enter account number:2700
Invalid customer id.1: Enter 1 to add a new customer.2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.3Account Holder Name: Hello KittyAccount Type: checkingAccount Number: 2700Balance: $5000.00Interest Rate: 4.00%*****************************1: Enter 1 to add a new customer.2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.2Enter account number:21471: Enter 1 to make a deposit.2: Enter 2 to withdraw.3: Enter 3 to check balance.9: Enter 9 to exit.1
Enter amount to be deposited: 2001: 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: Hello KittyAccount Type: checkingAccount Number: 1610Balance: $5200.00Interest Rate: 4.00%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: 1001: 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 customers data.9: Enter 9 to exit the program.1Enter customer's name: Jose CrossEnter account type (checking/savings): savingsEnter amount to be deposited to open account: 3000Enter interest rate (as a percent): 51: Enter 1 to add a new customer.2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.3Account Holder Name: Jason BorneAccount Type: checkingAccount Number: 1100Balance: $5100.00Interest Rate: 4.00%*****************************Account Holder Name: Sara RawlingsAccount Type: savingsAccount Number: 1200
Balance: $3000.00Interest Rate: 5.00%*****************************1: Enter 1 to add a new customer.2: Enter 2 for an existing customer.3: Enter 3 to print customers data.9: Enter 9 to exit the program.9
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply