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

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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