The values for the starting balance, interest, and amount


Write a program for a bank account starts out with (user selectable) .Interest is compounded monthly at (user selectable) percent per year or (user selectable percent per month) .every month (user selectable) is withdrawn to meet college . After how many years is the account depleted?
More explanation:
- balance and interest ⇒ double.
- month and year ⇒ integers.
- Be sure that the program will terminate for any values entered.
- Use an object-oriented design approach by creating a UML class diagram to design an object with instance variables and methods. Use meaningful names for your class, instance variables, and methods.
- Implement a test program. The values for the starting balance, interest, and amount withdrawn each month shall be input to the program using an input dialog box or the console window, whichever you prefer. Use at least one of the values as a parameter to a constructor in your program to initialize an instance variable.
- use if with while or for.
- after how many years and months the balance will be finished.
- Be sure that the program will terminate for any values entered. 

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: The values for the starting balance, interest, and amount
Reference No:- TGS095569

Expected delivery within 24 Hours