Fan

Description:           This program creates a graphic for fan motion.   Primary Inputs:    —– Primary Output:    fan in motion Platform Used:      Turbo C++ version 3.0, Borland International Inc.   #include #include #include #include #include void main() { int gdriver=DETECT; int gmode; float x,y,u,g,h,x1,y1,x2,y2,r,r1,x3,y3,x4,y4,x5,y5,x6,y6,x7,y7,x8,y8,x9,y9; initgraph(&gdriver, &gmode,"c:\\tc\\bgi"); x=getmaxx()/2; y=getmaxy()/2; r=20; r1=200; for(h=0;h