student prgrmmr
January 30th, 2002, 04:00 PM
I was given an assignment in class, and I need to make a program that asks the user for the amount of money he wants to borrow, the interest rate it will be at, and the monthly payments he can afford. Then it is supposed to print the month, payment amount, interest it will cost and balance to the screen. ie( if the loan is $1000 and the interest rate is 15% and the max payment is $100 the screen would show
Month Payment Interest Balance
0 0.00 0.00 1000.00
1 100.00 12.50 912.50
2 100.00 11.41 823.91
3 100.00 10.30 734.21
etc. . .)
I have most of the code correct, but I can't get it to work, please reply if you might be able to help.
Month Payment Interest Balance
0 0.00 0.00 1000.00
1 100.00 12.50 912.50
2 100.00 11.41 823.91
3 100.00 10.30 734.21
etc. . .)
I have most of the code correct, but I can't get it to work, please reply if you might be able to help.