Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
pruebapi2
//Title of this code #include <stdio.h> #include <math.h> int main(void) { double N,D,P; double s=0; double n=0; for(n=0;n <= pow(10,6);n++) {N=pow(-1,n); D=2 * n +1; P= N/D; s+=P;} printf("El valor de pi es %lf",s); return 0; }
run
|
edit
|
history
|
help
0
Lab6 v1.2 Sin,cos,tan,cot
123
swap two numbers without arithematic operators
RadixSort
hello 5
Q1.c
Dynamic array
Print hostname
My first 2D array
Add.c