From f86231869322f1de4f902301c5043a533f44be5e Mon Sep 17 00:00:00 2001 From: ak643du Date: Mon, 4 Mar 2024 20:20:04 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;