i want to write a program to calculate sum of the trignometric series for n terms
sinx=x-x^3/3 +x^5/5+....x^n/n
in c language
you can either enter n and have a loop which sums the series from 1 to n or have a loop which checks the value each term in the series and when it falls below some 'accuracy' terminates the series.