Question: Exercise 3 ) ( 4 Pts ) Develop a class BankAccount, which has the instance variables and functions in the UML table, and test the
Exercise Pts
Develop a class BankAccount, which has the instance variables and functions in the UML table, and test the class by making the test program with the following menus: A: Set ID B: Set Amount, C: Set Rate, and Q: Quit. After each command is input, display the total amount after years as shown below by calling the amountAfterYears in the main function.Exercisecpp$$$ years amount pow rate, amountAfterYears double: calculates the amount after years
Choose Menu. :Set :Set Amount, :Set Rate, :Quit
Set
Future Amount: $
Choose Menu. :Set :Set Amount, :Set Rate, :Quit
Set the amount.
Future Amount: $
Choose Menu. :Set :Set Amount, :Set Rate, :Quit
Set the rate.
Future Amount: $
Choose Menu. :Set :Set Amount, :Set Rate, :Quit
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
