Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

when u borrow money to buy a house,a car,or for some other purposes,then u typic

ID: 3529301 • Letter: W

Question

when u borrow money to buy a house,a car,or for some other purposes,then u typically repay it by making periodic payments.Suppose that the loan amount is L,r is the interest rate per year,m is the number of payments in a year,and the loan is for t years.Suppose that i = (r / m) and r is in decimal.Then the periodic payment is: R = Li / 1 - (1 +i) ^ -mt you can also calculate the unpaid loan balance after making certain payments.For example,the unpaid balance after making k payment s is: L' = R [1 - (1 + i) ^ -(mt - k) / i ] where R is the periodic payment.(Note that if the payments are monthly , then m = 12) write a program that prompts the user to input the values of L,r,m,t and k. The program then outputs the appropriate parameters,to calculate the periodic payments and the unpaid balance after certain payments.Make the program menu driven and use a loop so that the user can repeat the program for different values. in addition to the two function requirements presented in the text (periodicPayment and unpaidBalance),your program should contains additional functions as necessary,to implement the menu driven requirement.Consider function to display the menu(showMenu)and output the loan parameters(outputLoanVars) Note: don't use global variables

Explanation / Answer

i COMPILED IT AND GOT 4 ERRORS CAN SOMEONE TELL ME WHY?

Error 1 error C2664: 'functionOne' : cannot convert parameter 1 from 'double (__cdecl *)(double,double,double,double,double)' to 'double' c:usersdministratordocuments isual studio 2012projectsprojectprojectproject.cpp 64 1 Project
Error 2 error C2664: 'functionTwo' : cannot convert parameter 1 from 'double (__cdecl *)(double,double,double,double)' to 'double' c:usersdministratordocuments isual studio 2012projectsprojectprojectproject.cpp 65 1 Project
3 IntelliSense: argument of type "double (*)(double calcFactorOne, double k, double i, double m, double t)" is incompatible with parameter of type "double" c:UsersAdministratordocuments isual studio 2012ProjectsProjectProjectProject.cpp 64 26 Project
4 IntelliSense: argument of type "double (*)(double calcFactorTwo, double i, double m, double t)" is incompatible with parameter of type "double" c:UsersAdministratordocuments isual studio 2012ProjectsProjectProjectProject.cpp 65 31 Project