Question
Could any body help me with this programme, please This programme is about a loan payment. The question islisted below and i want a simple program without using file stream, but only with if and while statements. the program must displaythe monthly payment, payment towards principal and the amountremaining for rest of the months and the number of paymentsneeded to repaid the loan in full....Thank you in advance, ifanybody can help me with this programme. Could any body help me with this programme, please This programme is about a loan payment. The question islisted below and i want a simple program without using file stream, but only with if and while statements. the program must displaythe monthly payment, payment towards principal and the amountremaining for rest of the months and the number of paymentsneeded to repaid the loan in full....Thank you in advance, ifanybody can help me with this programme.
Explanation / Answer
please rate - thanks #include int main() { double loan,rate,pay,interest; cout.setf(ios::fixed,ios::floatfield); cout.precision(2); int months=0; coutloan; coutrate; rate/=100; rate/=12; interest=loan*rate; coutpay; if(pay