Sharp's value for Pi help
Basically i have to write a program which computes and prints Sharp’s approximation of pi using a number of terms to be input from the keyboard (via scanf ). The program must also print the difference between the approximation and the value of pi stored in the macro constant M_PI, defined in <math.h>.
Im totally new to C programming and was wondering if anyone could push me in the right direction.
|All times are GMT +5.5. The time now is 20:30.|