From c2c3113ab7175da8d53bc5ecb4f776dc7a7a6503 Mon Sep 17 00:00:00 2001 From: Bohdan Yanchyk Date: Thu, 2 Apr 2020 23:25:09 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du4/program.c b/du4/program.c index bea6389..3438acf 100644 --- a/du4/program.c +++ b/du4/program.c @@ -68,7 +68,7 @@ int main() sscanf(new_str,"%lf%c%lf%*[=]%lf",&first,&c,&second,&res); - if(c=='E'||first==-5||second==-5||res==-5){ + if(c=='E'||first==-5||second==-5||res==-5||c!=43||c!=42||c!=45||c!=47){ printf("CHYBA\n"); return 0; }