Develop an interactive program that accepts values for loan amount, yearly interest rate, and monthly payment amount from the terminal, and computes and displays on the terminal screen a loan repayment table. Your program execution session should have the same layout as the following sample terminal run:
Enter loan amount: 10000.00
Enter yearly interest rate: 0.1790
Enter monthly payment: 50.00
***> Monthly payment too small.
Enter monthly payment: 1000.00
Beginning Payment Interest Principal Ending
Balance Balance
    
10000.00 1000.00 149.17 850.83 9149.16
9149.16 1000.00 136.47 863.52 8285.64
8285.64 1000.00 123.59 876.41 7409.23
7409.23 1000.00 110.52 889.48 6519.75
…………………………………….
…………………………………….
1869.33 1000.00 27.88 972.12 879.21
897.21 897.21 0.00 897.21 0.00
You should note the following:
a. Monthly interest is computed on the beginning balance as
(beginning balance) * (interest rate) / 12
b. Principal is obtained by subtracting monthly interest from monthly payment.
c. Ending balance is beginning balance minus principal paid.
d. The beginning balance for a month is the same as the ending balance for the previous month.
e. When the beginning balance for a month becomes less than or equal to the monthly payment amount, no interest is charged and the monthly payment is considered as the principal amount. In this case the monthly payment will be the final payment on the loan.
can any one help me ? 
0  Mss. Farah · January 6, 2015 
Post a Reply 
Replies 
Oldest Newest Rating 
+1 
Jason Amador
· January 6, 2015
Are you just asking people to do your homework for you? At least try and post your code so you can learn something. We're happy to help, I'm sure.

0 
Mss. Farah
· January 6, 2015
this is the code ;
#include <iostream.h> using namespace std; main () { Double Money; Double Interest; Double paymount; }; int num = 0; void Cout (int i) { cout << "enter Loan amount" << endl; cin >> money; cout << "enter Yearly Interest" << endl; cin >> Yearly interest; int right = 1; while (right) { cout < <"enter monthly payment:" << endl; cin >> monthly paymount; if ( money / monthly paymount <15) right = 0; else cout << "monthly payment is TOO Small!" << endl; } cout << endl << endl; } void charge ( int i) { Double Total = money, Pay = 0; Double payment = monthly paymount; cout << "person number" << i + 1 << endl; cout << "beginning \payment \interest \ Tending \ N"; cout << "Balance balance" < <endl << endl; while (Total> payment) { Pay = Total * interest / 12; if (Total> = 10 thousand) { printf ( Total,paymount, Pay, paymountPay, Pay Totalpayment ); } else printf ( total,paymount, pay, paymountpay, totalpayment + Pay); Total = Total + Paypayment; } Pay = 0; printf (, Total, Total, Pay, Total, Pay); } void main () { cout << "How many person" << endl;? cin >> num; } return 0; 
0 
Mss. Farah
· January 6, 2015
thanks but still there is error

 1