Regular polygon by inaniwa

#define d-6.28318/n*i)*1e3+.01
main(i,n){for(scanf("%d",&n);n+--i;)printf("%.f %.f\n",cos(d,sin(d);}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page