Chat with us, powered by LiveChat C Programming Implement The Basic Properties Of A Bank Account | All Paper
+1(978)310-4246 credencewriters@gmail.com
  

bankAccount Data Account holders name (string)Account number (int)Account type (string, checking or 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. Methods deposit (add money to account)withdraw (take money out of account)getInterest (balance times interest rate)updateBalance (adds interest amount to balance)print (displays all account information)getAccountNumbergetAccountHolderNamegetAccountTypegetBalancegetInterestRate Constructor: sets account holders namesets account typesets balancesets 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.