Here is what I have below...

#include <iostream> // This program calculates the interest on a loan and the
using namespace std; // total amount of the loan after interest is added.

int main()
{ // Variables.
int preInterestLoan, interest, numOfPayments;
float monthlyPayments, amountPaidBack, interestPaid;

preInterestLoan = 10000; // Loan amount before interest.
interest = preInterestLoan * .01;

numOfPayments = 36; // 3 year loan.

return 0;
}

I still need to figure out how to calculate and display the monthlyPayments which are 332.14, the amountPaidBack which will total to $11,957.15, and the interestPaid which will obviously be $1,957.15. Any help as to how I can add them into the program? Thanks in advance.