Question: Code in Visual Studio C++, use intermediate/beginner code It is desired to create a mortgage estimator by writing a program containing a function. The user
Code in Visual Studio C++, use intermediate/beginner code

It is desired to create a mortgage estimator by writing a program containing a function. The user inputs the amount of loan (L), the loan term in number of months (N), and the annual interest rate (). The program should make use of a function that accepts these values as inputs through its argument and calculates and returns the monthly payment and the total payments over the life of the loan. The monthly payment and the total payment could be calculated using the following expressions onthly_ payment- I/12 total-payment-N monthly-payment Note that the interest rate must be expressed in decimal. for example, if the interest rate is 8% it must be entered as 0.0 8. Test your program for several scenarios and submit the results with the program listing The values of L, N, I, monthly payment, and total_payment should be written to a file as listed below: 10000 120000 85000 257000 320000 120 60 360 180 0.06 0.05 0.07 0.08 0.05
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
