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