I changed the code:
if (totaldays1 < 29)
{
int totaldays1;
outfile1 << name1 << '\t' << (loanAmount1 + interest1) << '\t' << (28 - totaldays1) << endl;
}
Type: Posts; User: yusko63
I changed the code:
if (totaldays1 < 29)
{
int totaldays1;
outfile1 << name1 << '\t' << (loanAmount1 + interest1) << '\t' << (28 - totaldays1) << endl;
}
Oh, I get it now. But I wasn't trying to loop it, I'm trying to set a condition statement; how would I set that up?
When I build this program, I get an error message; not from Visual Studio, but from my computer. Can anyone help me?
#include<iostream>
#include<fstream>
#include<iomanip>
#include<string>
I'm having trouble figuring out why my code is giving me an error. Can anyone help?
#include<iostream>
#include<fstream>
#include<iomanip>
#include<string>