From ff3b09145b1c5353d41a30a3096a95ccbbad43f0 Mon Sep 17 00:00:00 2001 From: Bohdan Yanchyk Date: Fri, 3 Apr 2020 00:29:44 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Edu4/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du4/program.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/du4/program.c b/du4/program.c index ce9b0b2..918eb39 100644 --- a/du4/program.c +++ b/du4/program.c @@ -61,6 +61,9 @@ int check(char *str){ if(str[i]=='='){ flag=1; } + if((str[i]>='a'&&str[i]<='z')||(str[i]>='A'&&str[i]<='Z')){ + return 0; + } } return flag==1?1:0; }