From 103815e3e9ed18808e3e72042b962b026aa5158b Mon Sep 17 00:00:00 2001 From: Kapliuk Date: Wed, 6 Mar 2024 20:56:00 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=BD=D0=BE=D0=B2=D0=B8=D1=82=D0=B8=20'c?= =?UTF-8?q?v3/program.c'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cv3/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv3/program.c b/cv3/program.c index 1495a46..2901184 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -15,7 +15,7 @@ int main(){ y1 = *y; if(y1 >= 'A' && line[0] != '\n'){ printf("Nepodarilo sa nacitat zaklad x\n"); - return 1; + return 0; } while(line[0] != '\n'){ cfIdx++; @@ -28,7 +28,7 @@ int main(){ } if(chcf1 >='A' && line[0] != '\n'){ printf("Nepodarilo sa nacitat polynom na %d mieste.\n", cfIdx); - return 1; + return 0; } } printf("Vysledok je: %.2f\n", result);