Amortization table in c without loops

401 views Asked by At

I have been tasked with creating a program that will generate an annual amortization schedule for a 30 year loan in C. The program accepts input of the loan amount and annual interest rate. From this I can easily calculate the monthly payment and annual payment.

The issue is that I am not allowed to use selection constructs, relational operators, logical operators, or techniques of repetition (loops), and I have no idea calculate how much of each annual payment goes towards paying off interest vs the principal without the use of a loop. I have attached an example output of what an example execution is supposed to look like.

Example Execution of program

0

There are 0 answers