Help with a nested loop program

Can you guys help me do this program

i need to make a tree out of a stars with a nested loop, i sure can do the nested loop but i cant output the stars in the right place



I have no idea how to do this i know how to do the basic nested loops but i cant seem to get those stars in place
Last edited on
what is the structure of the stars?



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



edit= idk why it doesnt want to line them correctly; its supposed to be just a normal tree
Last edited on
Topic archived. No new replies allowed.