Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
decimalespi
//Title of this code #include <stdio.h> #include <math.h> int main(void) { double Suma=0; long k=1; long Pi; for(k = 1;k <= pow(10,6);k++) {Suma = Suma + (1 / pow(k,2)); } printf("El numero Pi es %8.6lf.\n", sqrt(6 * Suma )); return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
14th Feb Project v0.3
Sunday assignment v2
ImprimeMensaje.c
pointer
Daniel - hw3q2
SumIt
str_ptr_to_fumc_v2
pointer1
Project 5 v.02
table of 123
Please log in to post a comment.