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:
http://www.cplusplus.com/reference/string/string/string/

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:
http://www.cplusplus.com/doc/tutorial/control/
Topic archived. No new replies allowed.