From 48a0917e49ebd026a60ffac791f8b91bd204869d Mon Sep 17 00:00:00 2001 From: Bohdan Yanchyk Date: Mon, 2 Mar 2020 19:39:19 +0000 Subject: [PATCH] =?UTF-8?q?Aktualizovat=20=E2=80=9Edu2/program.c=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- du2/program.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/du2/program.c b/du2/program.c index 7737e96..bf0eeb5 100644 --- a/du2/program.c +++ b/du2/program.c @@ -29,7 +29,8 @@ int main() } if(value <= -1 && i == 0){ - printf(" Málo platných hodnôt\n"); + printf("Chyba: Málo platných hodnôt\n"); + return 0; } // TUKE, WHY I CANT printf THIS RESULT BUT IN A DIFFERENT ORDER? 0_0 ```for(; i >= 0; i--)``` ---> pls fix this