for(j=0;j<7;j++)
{for(n=0;n<7;n++)
{
cout << setprecision(4) << "Day #"<<j+1<<":"<<temp[i][n]<<setw(16)<<(((temp[i][n]-32.0)/9.0)*5.0)<<setw(25)<<(((temp[i][n]*9.0)/5.0)+32.0)<<'
';
}
}
i want this to go thru so that the variable j goes up at the same time that variable n goes up. thanx in advance.
(Edited by supersloth at 9:18 pm on May 15, 2001)

New Topic/Question
Reply




MultiQuote




|