diff --git a/cv3/program.c b/cv3/program.c index 39c6c57..08d8d52 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -13,7 +13,7 @@ int main() { while (count < SIZE && scanf("%lf", &input) == 1) { coefs[count] = input; - if (coefs[count] == 'x') + if (coefs[count] = 'x') { printf("Nepodarilo sa nacitat polynom na %d mieste.", count); return 1;