靓女求助中!!!!!!
请高手帮忙一下吧!!!!!!!!!设计一些较简单的分形内图形!!
感激不尽!!!!!!!!
#include <graphics.h> #include <math.h> #include <stdlib.h> #define PI 3.1415926
void main() { int radius,circles,colors,j ; float i ; char ch ; int GraphDriver=DETECT,GraphMode ; initgraph(&GraphDriver,&GraphMode,""); randomize(); for(;;) { cleardevice(); colors=random(15)+1 ; setcolor(colors); radius=random(100); for(circles=30;circles<=150;circles+=20) for(i=0;i<=PI*2;i+=PI/8) circle(sin(i)*circles+300,cos(i)*circles+210,radius); sleep(1); if(bioskey(1))break; } closegraph(); }