Question: please write in c program. PSET DESCRIPTION for PROGRAMMING SET 4 ======================== ================= ============== The monthly payment on a loan may be calculated by the

 please write in c program. PSET DESCRIPTION for PROGRAMMING SET 4

please write in c program.

PSET DESCRIPTION for PROGRAMMING SET 4 ======================== ================= ============== The monthly payment on a loan may be calculated by the following formula: Rate *(1 + Rate) N Payment = * L ((1 + Rate) ^N - 1) [note 1] Rate is the monthly interest rate--expressed as a decimal value, which is the annual interest rate divided by 12. (128 annual interest would be 1 percent monthly interest.) [note 2] N is the number of payments, and ... L is the amount of the loan. Note 1: means exponentiation; a^b means a to the power of b Hint: Use the pow() function in the math Library. Note 2: To convert from percent to decimal ... Divide the percent value by 100. EXAMPLE: APPLYING THE FORMULA Write the code to compute the Monthly Payment for $10,000 loan for 36 months at 12% APR (Annual Percentage Rate) and present the results in a formatted display as shown: Loan Amount: Annual Interest Rate: Number of Payments: Monthly Payment: Amount Paid Back: Interest Paid: $ 10000.00 12.008 36 $ 332.14 $ 11957.15 $ 1957.15 PROGRAM REQUIREMENTS for PSET 4 Write a program to compute the monthly payment on a loan. (1) The program should compute: (a) Monthly Payment (b) Amount Paid Back (c) Interest Paid (2) The Loan Amount, Number of Payments, & APR should be obtained from the keyboard and validated. (3) The output results should be presented as a formatted display as shown in the example above. TEST your Program for the following problem: You just bought a cool Red F150 Truck for $40,000. Compute your monthly payments for the financing options: (1) 60 months @ 4.208 APR* (2) 48 months @ 4.208 APR (3) 36 months @ 4.54% APR Current Auto Loan Rates at Bankrate.com WHICH OPTION IS THE "BEST DEAL" ?? and WHY

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!