int main()
{
int n;
float angle, radian, sine, x, factorial, s, i;
x = 1;
printf("Enter angle in degrees (0 to quit)\n");
scanf("%f", &angle);
for (i = 1; i <= 15; i++){
while (angle != 0){
radian = angle*(PI / 180);
sine = 0;
n = 1;
while (n <= 15)
x= radian; sine = 0; for (i = 1; i<15; i++) { sine += x; x*= -(radian*radian) / (2 * i) / (2 * i + 1); } printf("sine of %d is %f\n", angle, sine);;