hey everyone, i want to write a program that will draw a spiral, and will have as many "rings" in it as the user says. im very very new to c, so im kinda confused. btw, this is NOT a hw assignment, my teacher just introduced using graphics today, but i really want to figure out how to make this program because not knowing how to do things like this really bothers me. thanks for the help.
i think everything is right, but i just dont know what goes inside the for() loop, which needs to be what actually draws the spiral.
*This program will draw a spiral with as many rings as the user
double xmax, ymax, i;
xmax = GetWindowWidth();
ymax = GetWindowHeight();
printf("How many rings do you want in the spiral?:");
for(i=0; i<rings; i++)
ExitGraphics(); /*‘hit any key’ */