for loop

hello guys,
please help me in my exercise I don't how to this using for loop.

this is the output:
_________*
________**
_______***
______****
_____*****


but the "_" is not included only "*" is included..

HELP ME PLEASE..THANKS IN ADVANCE
What code have you written for it so far?
You should try to make this output first to understand the "for" loop :

*
**
***
****
*****

good luck
Topic archived. No new replies allowed.