I need help doing my homework. I've started it but I think I'm doing it wrong, I need to print out a table of sine value for a trigonometric circle (angles 0 thru 360). Here is what I have currently:

# include <stdio.h> # include <math.h> #definePI = 3.14 /* Write a program that will print out a table of sin function values for angles between 0 and 360 degrees in 30 degree increments. Use formatting to line up the columns neatly. Remember that the trigonometric functions expect the angle to be in radians, not degrees. You will need 12 print statements. Use copy and paste to reduce typing effort. */ main () { printf("..Sin(x)…..Value..\n"); printf("..000…...…0000..\n"); printf("..030………1 / 2..\n"); printf("..060\n"); printf("..090\n"); printf("..120\n"); printf("..150\n"); printf("..180\n"); printf("..210\n"); printf("..240\n"); printf("..270\n"); printf("..300\n"); printf("..330\n"); printf("..360\n"); }

This seems too tediously to me, I think I am not suppose to actually write in the values myself, the math header should do it for me. Any help will be appreciated, thanks.