How would you put a empty space between output, right now it prints 6 rows but how do i add a space or a "\n" for example
row1
row2
row3
blank space
row22
row 23
row24
for (i=1; i<=months; i++)
{
if (i<=3 || i>=(months-2))
{
accInt = (loanAmount) * (monRate); // accured interest
principal = monPayment - accInt; // the new princiapal
lastBalance = loanAmount - monPayment + accInt; //the last balance from the loan amount
sumInterest += accInt;
if (i==months)
lastBalance = 0; // if its the last month it has to equal zero
// output of all the loan information
myOut << fixed << setprecision(0) << i <<"\t""$"<< fixed< loanAmount = lastBalance; //updats new loan amount
}
}
myOut <<"\n" <<"Total interest paid: $" <