Link to home
Start Free TrialLog in
Avatar of kazooie21
kazooie21

asked on

program to produce these outputs

I need a program that will produce these outputs

enter number of rows 4

*
**
***
****
(This set of astericks comes out just this way)


enter number of rows 4
*
***
*****
*******

(This set of astericks are indented and form a shape resembling a Christmas tree).
ASKER CERTIFIED SOLUTION
Avatar of Alisher_N
Alisher_N

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial