From 4a1fd5e0cff813f5ac6a6cf1f19ce736ac46fff6 Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Fri, 18 Mar 2022 15:03:52 +0100 Subject: [PATCH] aaaaa --- du3/program.c | 1 + 1 file changed, 1 insertion(+) diff --git a/du3/program.c b/du3/program.c index cf8b148..71f72f2 100644 --- a/du3/program.c +++ b/du3/program.c @@ -18,6 +18,7 @@ int main(){ else if((pol[i]<='9'&&pol[i]>='0')||(pol[i]=='.')||(pol[i]==EOF)||(pol[i]==' ')); else if(p==0){ printf("Nepodarilo sa nacitat zaklad x\n"); + return 0; } else { printf("Nepodarilo sa nacitat polynom na %d mieste.\n", p);