Star Pyramid Reverse

hello every one . I am new to programming can any one help me making star pyramid in reverse order . i.e it will look something like this....

This might help for outputting the asterisks:

Specifically this line from the example: std::string s6 (10, 'x');

I also suggest using a for loop or while loop due to the repetitive nature of your problem:
Topic archived. No new replies allowed.