asterisk triangle code

GUYS CAN SOMEONE HELP ME THROUGH THIS.

OUTPUT:
wwwwwww*
wwwwww**
wwwww***
wwww****
www*****
ww******
w*******
********


NOTE: (w)- represent as SPACE. i really do everythng but still i can't get this kind of output. so please guys i need your help. my Proffesor might give this kind of output for our finals. :))))))) TNX
Topic archived. No new replies allowed.