write c programming based on output below

Sample Output
Loan Amount : 10000
Number of years : 1
Annual Interest Rate : 7%
Monthly Payment : 865.26
Total Payment : 10383.21
Payment# Interest Principal Balance
1 58.33 806.93 9193.07
2 53.62 811.64 8381.43
.. … …. ….
.. … …. ….
11 10.0 855.26 860.27
12 5.01 860.25 0.01