One last question.... How do I get the totals of principal and interest.... I want to display them every 36th line....
TIA
Bill
Type: Posts; User: Squirrelly
One last question.... How do I get the totals of principal and interest.... I want to display them every 36th line....
TIA
Bill
Thanks Salem that did the trick....
Thanks
Bill
Thanks Salem I got that fixed, however when it printed to my out file it skipped the 1: here let me show you...
1 44.67 72.81 6700.00
2 44.18 73.29 6627.19 ...
This is where I put the if statement
balance -= principal;
}
if ((month % 6) == 0)
{
outfile << endl<<endl;
}
That didn't seam to work but thanks...
What I want to do is to insert a blank line every 6 lines in the print out, here is what I have:
// This program produces a loan amortization
#include <iostream>
#include <iomanip>
#include...
How do you write a IF statement that will check for a new line character......
Thanks
Squirrelly
What am I doing wrong here, any suggestions....
#include <iostream>
#include <cmath>
//using namespace std;
int main ()
{
int num1, num2, num3;