Program to calculate a mortgage.

Assignment Help C/C++ Programming
Reference no: EM13937581

Further modify your program so it allows the user to select which way they want to calculate a mortgage.

1- by input of the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage payment

OR

2- by input of 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 mortgage information and read the interest rates and other information into an array read from a sequential file. In either case, 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.

The user should be told what the invalid entry was and why it was invalid if they enter a zero or negative amount. They should then be prompted again to reenter a valid amount.

The program should use at least three distinct classes including an abstract base class with at least one virtual method. A concrete class must inherit from this base class and implement any abstract methods in the base class. Each method should have a limited scope and your classes should implement several methods, each of which implements a small part of the task. Do not lump all the functionality into a single class. While the exact format of your classes and structure is up to you, I expect your code to look good and be easy to read and understand.

Post to the source for your program (all files needed to build the program without any temporary files or the final .exe)

Attachment:- loan_type.zip

Reference no: EM13937581

Questions Cloud

The appropriate pigeonhole in the boxes : Place your assignment solutions in the appropriate pigeonhole in the boxes on the third level of the Mathematics Building (PS2, Bundoora campus) before 12.00 noon on Monday 11th May OR hand to Simon Smith (Bendigo) at or before the Monday lecture...
Outline the main issues involved in language death : Outline the main issues involved in Language Death and indicate one area where further research is necessary. Justify your selection of this area.
Calculate sum of the consumer surplus and producer surplus : Suppose that producers need to have licenses to sell apples, and that only 90 units of apples are licensed (i.e. Q is limited to 90). Calculate the sum of the consumer surplus and producer surplus.
Calculate book value of an asset : Reversing Rapids Co. purchases an asset for $182,837. This asset qualifies as a five-year recovery asset under MACRS. The five-year expense percentages for years 1, 2, 3, and 4 are 20.00%, 32.00%, 19.20%, and 11.52% respectively. Reversing Rapids has..
Program to calculate a mortgage. : The user should be told what the invalid entry was and why it was invalid if they enter a zero or negative amount. They should then be prompted again to reenter a valid amount.
Sharpe ratio and smallest expected loss : You are constructing a portfolio of two assets, Asset A and Asset B. The expected returns of the assets are 13 percent and 16 percent, respectively. The standard deviations of the assets are 39 percent and 47 percent, respectively. What is the smalle..
David foster wallace discussion of prescriptivism : The goal is to investigate the word. Consider David Foster Wallace's discussion of Prescriptivism vs. Descriptivism, and the ideological implications of approaches to language and grammar. Also consider the discussions on Radiolab about how words ..
Toyotas capabilities and core competencies : Toyota: The Once in a Century Challenge and answer three questions: Analyse the case and answer three questions: 1. Analyse the reasons for the problems faced by Toyota in 2009. 2. Identify Toyota's capabilities and core competencies.
What is the economic order quantity-current restocking costs : The Trektronics store begins each week with 540 phases in stock. This stock is depleted each week and reordered. The carrying cost per phase is $49 per year and the fixed order cost is $96. What are the current total carrying costs? What are the curr..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write an application that shows the sum

This is for Object-Oriented Programming Using C++ language - Edition Joyce Farrell. Please ensure to read everything that I have wrote so that there is no confusion.

  Write a program that uses a nested loop

Write a program that uses a nested loop togenerate the output shown below. Be sure that the value on the line changes with each digit displayed. For example, line 5 has the values "1", "2", "3", "4", and "5".

  Write functions which solve each of the following problems

write functions which solve each of the following problems. you must place all of your functions in one project. if you

  Calculate the area of the circle

Your employer has requested the development of a software application to calculate the area of a circle. The application must accept only one value (i.e., the radius), and it must display the result in decimal value.

  Utilizing microsoft visual c#

Utilizing Microsoft Visual C#,

  Write test driver to test the written methods

write the class specification, constructor, accessors and mutators and write test driver to test the written methods

  Calculate the gross pay of a set of employees

Write a C program that will calculate the gross pay of a set of employees - For each employee the program should prompt the user to enter the clock number, wage rate, and number of hours

  Program that evaluates a infix expression

Program that evaluates a infix expression using stacks terminated by an equal sign. for example: (4-2)-5)/(2+1)-2))=the expression will contain single digit and the operators +, -, *,/. Make sure to consider the operator precedence.

  What is the bug or logic error in the above program

What is the bug or logic error in the above program. Add the lines to fix it. This is an example of __nested__________ loops. How many times does the outer loop execute

  Why should stream operators be overloaded as friend function

Why should the stream operators and >> be overloaded as friend functions? Why should the arithmetic operators +, -, *, and / be overloaded as friend functions?

  Find the optimal solution for the problem

Develop a linear program and hence find the optimal solution for the problem.

  The main function should prompt the user

The main function should prompt the user for the 2 numbers, call the function to display the correct label, then calculate and display the sum of the numbers. Call the function to display the correct label, then calculate and display the differenc..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd