Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
cv3
//clang 6.0.0 #include <stdio.h> #include <math.h> int main(void) { double a,b,c,x1,x2,D; scanf("%lf %lf %lf", &a, &b, &c); D = (b * b) - (4 * a * c); D = sqrt(D); x1 = (-b + D)/(2 * a); x2 = (-b - D)/(2 * a); printf("Kořeny rovnice: x1 = %lf, x2 = %lf\n", x1, x2); return 0; //do Compiler args se musí za -O2 přidat -l m }
run
|
edit
|
history
|
help
0
min max pole
Sin(x) in C Teylor
Vectores: mayor, menor, media
Herout (67) - 2+
Herout (67) - 6
Recursividad: Hanoi
Does fgets() read past a leading newline?
Tree and binarySearch
Herout (67) - 7
marquee text in C