Hi, I need a little help on this assignment in my computer programming class.. im not looking for a complete answer to everything but i've been thinking about this for 2 days and tried everything, and I still can't figure out how to even do the second segment of the four pointed star... here's a link to teh assignment..

http://www.sfusd.edu/schwww/sch697/d...website/c9.htm

i know the first part to loop it is like this:

#include "winbgim.h"

void DrawLines ();

int main ()

{

initwindow(640,480);

DrawLines();

getch();

closegraph();

return 0;

}

void DrawLines ()

{

setcolor(MAGENTA);

for (int nY = 0; nY <=240; nY = nY + 30)

{

line (320,nY,nY + 320,240);

delay(50);

}

but i cant seem to figure out what to do from there... I can't imagine where to put the lines.. I appreciate some help.. I'm behind everyone in my class

http://www.sfusd.edu/schwww/sch697/d...website/c9.htm

i know the first part to loop it is like this:

#include "winbgim.h"

void DrawLines ();

int main ()

{

initwindow(640,480);

DrawLines();

getch();

closegraph();

return 0;

}

void DrawLines ()

{

setcolor(MAGENTA);

for (int nY = 0; nY <=240; nY = nY + 30)

{

line (320,nY,nY + 320,240);

delay(50);

}

but i cant seem to figure out what to do from there... I can't imagine where to put the lines.. I appreciate some help.. I'm behind everyone in my class

## Comment