setw manipulator in c++

edited July 2005 in Internet & Media
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

Comments

  • mmonninmmonnin Centreville, VA
    edited July 2005
    Whats the desired format and what does it look like now?

    Wrap your code in < code > </ code > tags.
Sign In or Register to comment.