Hello I need help to write a c program that prints a laon amortization schedule when user imputs, principal, annual percentage rate of interest, number of years to pay off the loan and monthly payment.
original loan amount=10,000
number of payments is 36
APR is 7.50
payment is 311.06
monthly payment=(rate+(((rate/1+rate)months)-1)*principal)
at the end of the loan..there should be a summary information of the total amount paid total interest paid and total principal paid
rate= annual percentage rate/1200
at the end of each month the amount of interest due on the loan is rate*principal_remaining

Start here:

#include <stdio.h>

int main()
{
   // your code goes here
}