From fb7c90bfb985a3b0820931479efa24d85f17642c Mon Sep 17 00:00:00 2001 From: Bohdan Yanchyk Date: Fri, 3 Apr 2020 00:22:16 +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 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/du4/program.c b/du4/program.c index 1b27d7d..152c4c7 100644 --- a/du4/program.c +++ b/du4/program.c @@ -47,6 +47,14 @@ double compare_percent(double a, double b, double eps) return diff < 0 ? -1 : diff > 0 ? +1 : 0; } +int check(char *str){ + for(int i =0;i