Question: Please answer this in PROGRAMMING C and not any other language such as java or C++ please and thanks I have attached the formulas to

Please answer this in PROGRAMMING C and not any other language such as java or C++ please and thanks

I have attached the formulas to use as well as how the sample run should come out like. I really need help on this thanks.

Use the templet provided.

Please answer this in PROGRAMMING C and not any other language such

as java or C++ please and thanks I have attached the formulas

to use as well as how the sample run should come out

like. I really need help on this thanks. Use the templet provided.

scanf( "\%lf", \&loanAmount); printf( "Loan amount $%.2f ", loanAmount ); printf( "

Enter the interest rate per year as a percentage: "); scanf( "olf",

scanf( "\%lf", \&loanAmount); printf( "Loan amount $%.2f ", loanAmount ); printf( " Enter the interest rate per year as a percentage: "); scanf( "olf", \&interestRate) ; printf( "interest rate per year as a percentage $%.2f ", interestRate) ; printf( " enter the number of payments per year: "); scanf( "od", \&numofpayPeryear) ; printf( "The number of payments per year od ", numofPayPerYear ); printf( " Enter the number of years for the loan: "); scanf( "\%", \& loanYears); printf( "The number of years for the loan: is od \ ", loanYears ) ; / / Add your code to get periopayment and display printf( " Enter the number of payments made: "); scanf( " / Add your code to display the unpaid ba.ance / /after the number payments made / /Add your code to input response from scanf to repeat / /the loop or exit printf( " enter (Y/Y) to find the periodic payment and unpaid "); printf( "balance after certain payments: ") \} return 0 Add your code for the two functions (periodicPayment and unpaidBalance) II Add your code for the //two function definitions here // (periodicPayment and unpaidBalance) Enter (Y/y) to find the periodic payment and unpaid balance after certain payments: y Enter the loan amount:10000 Enter the interest rate per year as a percentage: 0.15 Enter the number of payments per year:12 Enter the number of years for the loan: 3 The periodic payment is: 278.420607 Enter the number of payments made: 10 The unpaid balance after 10 payment(s) is : 7226.734323 Enter (Y/y) to find the periodic payment and unpaid balance after certain payments: y Enter the loan amount:20000 Enter the interest rate per year as a percentage: 0.15 Enter the number of payments per year:12 Enter the number of years for the loan:3 The periodic payment is: 556.841214 Enter the number of payments made: 10 The unpaid balance after 10 payment(s) is: 14453.468646 Enter (Y/y) to find the periodic payment and unpaid balance after certain payments:n Process finished with exit code Write C Application to calculate Loan periodic payment and unpaid loan balance after making certain 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. The given periodic payment formula is R=1(1+i)mtLi L-is the loan amount r-is the interest rate per year (0.15) m - is the number of payments in a year t - is number years for the loan (3-year loan) Suppose Given that i=(r/m) and r is in decimal. Use the following formula to calculate the unpaid loan balance after making certain payments. For example, the unpaid balance after making k payments is: L=R[i1(1+i)(mtk)] Where: R - is the periodic payment. (Note that if the payments are monthly, then m =12 )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!