#include #include #define N 360 int main(void) { double d_theta, theta; int i; d_theta=2*M_PI/N; for(i=0; i<=360; i++){ theta = i*d_theta; printf("%d\t%8.5f\t%8.5f\t%8.5f\n",i, sin(theta), cos(theta), tan(theta)); } return 0; }