Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
gcc compiler code for delay
//gcc 5.4.0 #include <stdio.h> double powern(double d,unsigned n) { double x=1.0; unsigned j; for(j=1;j<=n;j++) x*=d; return x; } int main(void) { double sum=0.0; unsigned i; for(i=1;i<=100000000;i++) { sum+=powern(i,i%5); } printf("Sum=%g\n",sum); return 0; }
run
|
edit
|
history
|
help
1
Please
log in
to post a comment.
Simple Calculator v1.0
C141105_SwitchNotas
Ahora si?
18BCE2182 ASSESS_3 Q2
E
Lab 7 blackjack v1.1
Lab 7 blackjack v0.9
C_141204_ContadorPalabras
Bitwise Operations
sjf
Please log in to post a comment.