Create the program as an object-oriented program


Discuss the below:

Q: Create the program as an object-oriented C++ program that allows the user to input the amount of a mortgage and then select from a menu of mortgage loans:

- 7 year at 5.35%

- 15 year at 5.5%

- 30 year at 5.75%.

Use an array for the different loans. Display the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term of the loan. On longer term loans, the list will scroll off the screen. Do not allow the list to scroll off the screen, but rather display a partial list and then allow the user to continue the list. Allow the user to loop back and enter a new amount and make a new selection, or quit. Insert comments in the program to document the program.

- Make sure to use inheritance.

- Make sure you use public and private members in the class definitions.

- Your program should validate all user input (simple value range validation). If value is invalid, an appropriate message should be displayed and the user is asked to re-enter the value. This continues until the user enters a valid input.

Include a design flow chart or psuedocode algorithm.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Create the program as an object-oriented program
Reference No:- TGS01937154

Now Priced at $25 (50% Discount)

Recommended (92%)

Rated (4.4/5)