Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Calculating longs p v1
#include <stdio.h> #include <math.h> int main(void) { long long L; int S; double a; double b; double c; double d; double e; double f; scanf("%lld%d",&L,&S); // scanf("lld",&L); // scanf("%d",&S); //L=1000; //S=4; a=S+L; b=S*L; c=L-S; d= sqrt(L); e= sqrt(S); f=L/S; printf("L=%lld\nS=%d\n",L,S); printf("a=S+L=%lf\n",a); printf("b=S*L=%lf\n",b); printf("c=L-S=%lf\n",c); printf("d=(L)^1/2=%lf\n",d); printf("e=(S)^1/2=%lf\n",e); printf("f=L/S=%lf\n",f); return 0; }
run
|
edit
|
history
|
help
0
C_141120_factorial02
A_141107_Potencia
Dangling
A_141212_HistoriaDePunteros
Tern operators
EUCLIDES BIEN
IndiSelSort
Lab 9 v0.6
algo de avance
Strncpy memcpy