display pattern

hello, i have a question here in my project asking a program that will display the following pattern, given the value of n.

example if n=4, output

*
**
***
****

2. and another pattern is

****
***
**
*

tnx. and Godbless
i hope to learn more about turbo c++ ..
Topic archived. No new replies allowed.