Monthly payment
-
I'm a beginner writing my 2nd program. I'm stuck. I'm not sure were the problem is. Monthly payment formuls: payment=rate*(1+rate)n/((1+rate)n-1*L rate=monthly interest rate, n=number of payments L=loan amount. //Patrick Comeau //Monthly Payments //Project 2 //oct 1 03 #include #include #include using namespace std; int main() { float rate = 0.0; //monthly interest rate float nop =0.0; //number of payments float loan =0.0; //amount of loan double pay =0.0 ; //monthly payment double apb= 0.0 ; //amount paid back double intpd = 0.0; //interest paid double num =0.0; double den=0.0; cout<< "What is the loan amount " ; cin>> loan; cout<< "The number of payment is " ; cin>> nop; cout<< "What is the monthly interest rate " ; cin>> rate; cout<< "The Monthly payment is " <
-
I'm a beginner writing my 2nd program. I'm stuck. I'm not sure were the problem is. Monthly payment formuls: payment=rate*(1+rate)n/((1+rate)n-1*L rate=monthly interest rate, n=number of payments L=loan amount. //Patrick Comeau //Monthly Payments //Project 2 //oct 1 03 #include #include #include using namespace std; int main() { float rate = 0.0; //monthly interest rate float nop =0.0; //number of payments float loan =0.0; //amount of loan double pay =0.0 ; //monthly payment double apb= 0.0 ; //amount paid back double intpd = 0.0; //interest paid double num =0.0; double den=0.0; cout<< "What is the loan amount " ; cin>> loan; cout<< "The number of payment is " ; cin>> nop; cout<< "What is the monthly interest rate " ; cin>> rate; cout<< "The Monthly payment is " <
I'm not gonna give you the answer to this because its way too obvious which is why there probably hasn't been a response yet. Here's a hint. Check out your last three cout statements and think about what they are doing. Shouldn't take long to see the problem.
-
I'm a beginner writing my 2nd program. I'm stuck. I'm not sure were the problem is. Monthly payment formuls: payment=rate*(1+rate)n/((1+rate)n-1*L rate=monthly interest rate, n=number of payments L=loan amount. //Patrick Comeau //Monthly Payments //Project 2 //oct 1 03 #include #include #include using namespace std; int main() { float rate = 0.0; //monthly interest rate float nop =0.0; //number of payments float loan =0.0; //amount of loan double pay =0.0 ; //monthly payment double apb= 0.0 ; //amount paid back double intpd = 0.0; //interest paid double num =0.0; double den=0.0; cout<< "What is the loan amount " ; cin>> loan; cout<< "The number of payment is " ; cin>> nop; cout<< "What is the monthly interest rate " ; cin>> rate; cout<< "The Monthly payment is " <