Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
kvadraticka rce
#include <stdio.h> #include <stdlib.h> #include <math.h> int main(void) { float a, b, c, d, x1, x2, o; o = 0.5; scanf("%f\n", &a); scanf("%f\n", &b); scanf("%f\n", &c); d = b*b - 4*a*c; printf("diskriminant je: %g\n", d); x1 = (-b + sqrt(d))/(2*a); x2 = (-b - sqrt(d))/(2*a); printf("kořeny rovince jsou: \n"); printf("x1 = %g\n", x1); printf("x2 = %g\n", x2); return (0); }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Hello
BPC cv 5_Test
1
amal
insertionrandom
struktura vzalenost
euklejduv algoritmus
test
Min_Max pole čísel
hledání max, min
Please log in to post a comment.