Question: Please answer using C++ Modify your mortgage to include two functions. 1- A function to get principal, rate, and term. 2- A function to calculate
Modify your mortgage to include two functions. 1- A function to get principal, rate, and term. 2- A function to calculate monthly payment. Test your program by getting the data from the user by using the function and calculate monthly payment by calling the other function. Write proper comments Input Validation: Do not accept negative values for loan amount (principal), rate, and term. (You cannot use global variable for this assignment.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
