Loan Payment table

I have a problem requiring me to :
enter loan amount:
Enter interest rate:
Enter length of loan (years)

It wants me to input the minimum amount for the loan, and the minimum interest rate. and then output a table that has 5 loan amounts across the top in $10000 increments and 4 interest rates along the side in .25% increments.

This is what I have so far that I know works now im stuck. Please HELPPP! I've been working on it for over an hour now and every time I try something new it outputs something messed up and have no clue where I'm going wrong.



#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main ()
{
double loan, interest, length, payment,ti;
//Enter loan price

cout<< " Enter loan amount: " ;
cin >> loan ;

//Enter interest rate

cout<< "Enter interest rate (%): ";
cin >> interest ;

//Enter length of loan
cout<< "Enter length of loan (years): ";
cin >> length;

cout <<"\t\t\tTABLE OF LOAN PAYMENTS\n";







system("pause");

}
I didn't include the system("pause"); bit, and it works fine on my end. Maybe make sure you aren't answering with $'s, or if you do, add some code to handle them…
Enter loan amount: 100.0
Enter interest rate (%): 10
Enter length of loan (years): 10
			TABLE OF LOAN PAYMENTS
Topic archived. No new replies allowed.