Run Code
|
API
|
Code Wall
|
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
Spring 2017 Lab 4 v1
Assignment 5 part 2
Spring 2017 Lab 4 v0.5
Pozdravljeni v mali soli C.
C_141113_euclides
Goodone pointer minus void pointer
Atoi without minus
eliminate_duplicates.c
Is const really const?
TAREA M4- PERLAS TERMINADA