Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
problemapi2
//Title of this code #include <stdio.h> #include <math.h> int main(void) { double n = 2, d =1, p = 1; for(n = 2, d = 1, p = 1; n <= pow(10 , 6); ) { p *= n / d; d += 2; p *= n / d; n += 2; } printf("El numero pi es %lf", p * 2); return 0;}
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
la profe
Conditional logic.c
bitwise operations
co_assign1_ques_4
Spring 2017 Project 2 v1
Rationale Zahlen
TopLeftTriangle.c
llist.h
2.1.3 Sum of squares of first hundred natural numbers with different cores
150116_MatrizOrdenada
Please log in to post a comment.