Loan Calculation

I'm new to C++ and haven't been able to practice some of it because family issues (loss of member)and a busy school schedule. My instructor told us to do a loan calculation program and have no idea to begin with.
Here's the instructions:

write a program to compute the payoff time for a loan. The inputs to the program are the amount that the person will borrow, the annual percentage rate, and the amount that the person wants to pay as monthly payments.

Le'ts suppose that the annual percentage rate is 6% and the amount to borrow is $100,000. Then the monthly interest rate will be 0.5%.

After one month the interest will be 0.005 * 100000 or $500.

If the person's desired monthly payment is less than the first month's interest, your program should report that the monthly payment is too low to ever pay off the loan and exit.

If the desired monthly payment is larger, then your program should present a table of loan balance information:

Month Loan balance start Interest Payment Loan balance end
----- ------------------ -------- ------- ----------------
1 100000.00 500.00 1000.00 99500.00
2 99500.00 497.50 1000.00 98997.50
3 98997.50 494.99 1000.00 98492.49
...

Your report should continue until the loan balance at the end of the month is 0.00. This will mean that the final payment will be equal to the principal plus the interest for the final month.



I got started on some of it but i don't think it's good enough. I really need help and I would be very grateful if i received it
Topic archived. No new replies allowed.