process: 1 2 3 4 5
cout<<"process"<<endl; for(i=0;i<n;i++)> { cout<<"\n\t"<<i+1<<endl; }
cout<<"process :"; for(i=0;i<n;i++)> { cout<<setw(3)<<i+1; //OR //cout <<\t<<i+1; } output is: 1 2 3 4 5 ....
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)