English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Please help me write this program. where do I put the formula.



Project 4 : This program will calculate the interest rate and monthly payment for
a loan of a 30 year timespan from the user.
****************************************************************************************/

#include
#include

using namespace std;
int main ()

{
double mortgage_amount; //This will be the mortgage amount that the user enters
double interest_rate; //This will be the interest rate that the user enters
int t_Span = 30; //This is the timespan that the loan is defaulted to the user at
double monthly_payment; //This variable will output the monthly payment over the defaulted
char YesNo = 'Y';

do //In order to allow my user to to re-enter date, I must have a loop

{
cout << "Enter mortgate amount. Press Return";
cin >> mortgage_amount;
cout << "What is interest rate o

2007-02-26 14:09:55 · 1 answers · asked by Anonymous in Computers & Internet Programming & Design

1 answers

After you input all the variables from the user, enter the formula right after that.

2007-02-27 19:01:05 · answer #1 · answered by A.Samad Shaikh 2 · 0 0

fedest.com, questions and answers