Hey, I am doing a while statement where I am manipulating the outputs. My problem is I dont know how to manipulate each ouput.
eg: int 1 = 0;
while(i < 10 )
{
i = 1 + 2;
cout << '\n' <<setw(3);
cout<< '\n' <<setw(5);
I want to display each output of "i"(2,4,6,8,10), using setw to manipulate the spacing and I dont know how. Thanx for your help.
Tony.