Regular polygon by twobit

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

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

download

return to the top page