From 0fac0d8e987395afc2c5bcf1b01c3a6f9a5604c5 Mon Sep 17 00:00:00 2001 From: Yaroslav Orlianskyi Date: Fri, 18 Mar 2022 14:24:21 +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 4a035bf..8191a28 100644 --- a/du3/program.c +++ b/du3/program.c @@ -12,7 +12,7 @@ int main(){ for(int i = 0; i < SIZE; i++){ char* r = fgets(riadok,SIZE,stdin); if(*r != '\n'){ - if(*r >= 0 && *r <= 255){ + if(*r >= 65 && *r <= 122){ if(i == 0){ printf("Nepodarilo sa nacitat zaklad x\n"); return 0;