setw manipulator in c++
hi!
i have a problem in a programe of c++ having the output like below by using setw manipulator,but i am unable to get the outpit in the desired format.
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
i have a problem in a programe of c++ having the output like below by using setw manipulator,but i am unable to get the outpit in the desired format.
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
0
Comments
Wrap your code in < code > </ code > tags.