Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
problemapi3
//Title of this code #include <stdio.h> #include <stdlib.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",4*s); return 0; }
run
|
edit
|
history
|
help
0
a.out
Revprint
Project 3 Part 1 v1.6
funcion dar vuelta numero
Sum Two Numbers
C list
C_141120_factorial01
Pregunta 3 de registros
1/23/2017
Bitwise Operations