Regular polygon by nu

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

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

download

return to the top page