
-----------------------------------
salah_1192
Wed May 07, 2008 6:35 pm

Help Starss
-----------------------------------
HEY GUYs i need to make a program exactly like this can you help me out 

i need to use nested loops to do this 
thanks in advance

http://img369.imageshack.us/img369/1702/20681209ot4.th.jpg[/img]

-----------------------------------
SNIPERDUDE
Thu May 08, 2008 1:13 pm

RE:Help Starss
-----------------------------------
We are not going to tell yo uthe coding;
bu tI may be able to help with the logistics:

try breaking it up into two halves
or sections: one being spaces (0 in this
example) and the other *s.  As the number of
*s increase by 2, the spaces (or 0s) decrease
by 1.

0000*
000***
00*****
0*******
*********

Hope that helps!

-----------------------------------
salah_1192
Thu May 08, 2008 6:39 pm

Re: RE:Help Starss
-----------------------------------
We are not going to tell yo uthe coding;
bu tI may be able to help with the logistics:

try breaking it up into two halves
or sections: one being spaces (0 in this
example) and the other *s.  As the number of
*s increase by 2, the spaces (or 0s) decrease
by 1.

0000*
000***
00*****
0*******
*********

Hope that helps!

yes i understand however i have to use a nested loop

-----------------------------------
SNIPERDUDE
Mon May 12, 2008 1:20 pm

RE:Help Starss
-----------------------------------
Have the outside loop counting down,
and the inside loop counting up.

...provided you use nested for (While) loops
If you're not allowed to use those just use
variables to count.

-----------------------------------
salah_1192
Mon May 12, 2008 8:13 pm

Re: Help Starss
-----------------------------------
Have the outside loop counting down, 
and the inside loop counting up. 

...provided you use nested for (While) loops 
If you're not allowed to use those just use 
variables to count. 
_________________
You're only sick as your secrets, but the truth will set you free... 

Yes i know what a nested loop is however i dont know how to do it so that the shape is such
can you be more ellaborative
i really appreciate the help

-----------------------------------
syntax_error
Mon May 12, 2008 10:57 pm

RE:Help Starss
-----------------------------------
trace through the shape to see how you would draw it line by line and see a pattern then recreate it in the for loop like structure , with this kind of program giving more then guild lines sorta gives the answer away.
