From be2253db081d9576b135114c0e14b13b34526f17 Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Fri, 18 Mar 2022 14:21:15 +0100 Subject: [PATCH] WQE --- du3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du3/program.c b/du3/program.c index a0d6e21..0a7d67e 100644 --- a/du3/program.c +++ b/du3/program.c @@ -9,7 +9,7 @@ int main(){ char *endptr = NULL; double result = 0; int a; - for(int i = 0; i < size; i++){ + for(int i = 0; i < SIZE; i++){ char* r = fgets(riadok,SIZE,stdin); if(*r != '\n'){ if(*r >= 0 && *r <= 255){