# can any one help me ?

 Mss. Farah · January 6, 2015 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.00Enter yearly interest rate: 0.1790Enter monthly payment: 50.00***> Monthly payment too small.Enter monthly payment: 1000.00Beginning   Payment  Interest   Principal     EndingBalance      Balance---------------- ----------- --------- ------------ ----------10000.00   1000.00   149.17    850.83         9149.169149.16     1000.00   136.47    863.52         8285.648285.64     1000.00   123.59    876.41         7409.237409.23    1000.00    110.52    889.48         6519.75…………………………………….…………………………………….1869.33    1000.00   27.88     972.12      879.21897.21      897.21     0.00        897.21      0.00You should note the following:a. Monthly interest is computed on the beginning balance as(beginning balance) * (interest rate) / 12b. 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.

## Replies

 Mss. Farah · January 6, 2015 thanks but still there is error Mss. Farah · January 6, 2015 this is the code ;#include 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" < payment)    {        Pay = Total * interest / 12;        if (Total> = 10 thousand)        {            printf ( Total,paymount, Pay, paymount-Pay, Pay Total-payment );        }        else            printf ( total,paymount, pay, paymount-pay, total-payment + Pay);        Total = Total + Pay-payment;    }    Pay = 0;        printf (, Total, Total, Pay, Total, Pay);}void main (){    cout << "How many person" << endl;?    cin >> num;}return 0; 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.
• 1

## C++

129,839 followers