Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++....I have been trying to attempt within visual studio. . I have bankAccount Class Define the class bankAccount to implement the basic properties of a

C++....I have been trying to attempt within visual studio.

.image text in transcribedI have

bankAccount Class Define the class bankAccount to implement the basic properties of a bank account. The class should store and implement the following data / method bankAccount Data Methods deposit (add money to account) withdraw (take money out of account) Account holders name (string) Account number (int) Account type (string, checking on savings) Balance (double) Interest rate (double, to be stored as a decimal value) Static member (int named anything) used to automatically assign account numbers during account creation . getlnterest (balance times interest rate) updateBalance (adds interest amount to balance) . print (displays all account information) . getAccountNumber . getAccountHolderName getAccountType getBalance getlnterestRate Constructor: sets account holders name sets account type . sets balance . sets interest rate . (account number is auto generated in constructor Create a main program to test the class as follows Declare an array of 10 components of type bankAccount. Prompt the user or hard code information for up to 10 customers. For each customer, assign name, account type, balance, and interest rate After all information is entered, print all account information for each customer. Implementation Requirements You will create three files for this assignment: bankAccount.h (Class definition) bankAccount.cpp (Class implementation) bankAccountTest.cpp (test file for your bankAccount class) Submit source code, a screenshot with a time stamp of code execution, and a text file of the code. All code should include comments. Grading Criteria Assignments Maximum Points ram accomplishes requested operations per instructions 40 30 The code works and meets all assignment specifications The code is organized and easy to follow and output is clear and clean ses software tools correctly and efficientl Total 100

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started