Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
definice funkce
//clang 6.0.0 #include <stdio.h> #include <math.h> double vzdalenost (double aX, double bY); int main(void) { double X, Y, R; printf("a="); scanf("%lf",&X); printf("b="); scanf("%lf",&Y); R = vzdalenost (X,Y); printf("\nC=%lf",R); return 0; } double vzdalenost (double aX, double bY) { double r; r = sqrt((aX*aX)+(bY*bY)); return r; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Bucles: Suma de n números tecleados por el usuario
Bucles: triángulo asteriscos
Bucles: Suma de n números tecleados hasta introducir 0
Use of Arithmetic Operator
lab4.1 C
coucou
Cviceni 7 1 uloha ++upper,isupper
VKI_Mihalyk_3_3
Bucles: Ver si un número es primo
strchr
stackse - search stackoverflow differently
Please log in to post a comment.