From ab309421183d39c0105e23f5641372504d7fe1a9 Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 7 Mar 2024 13:39:09 +0100 Subject: [PATCH] Initialization --- cv3/program.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index 791b1d7..db83529 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -1,5 +1,4 @@ #include -#include #define SIZE 100 @@ -14,7 +13,7 @@ int main() { while (count < SIZE) { if (scanf("%lf", &input) != 1) { if (scanf("%c", &input) == 1) { - if (count = 0){ + if (count == 0){ printf("Nepodarilo sa nacitat zaklad x\n"); return 0; }