From c2e2132317c4d2b122948b603611e4564053fe17 Mon Sep 17 00:00:00 2001 From: kr820js Date: Sun, 3 Mar 2024 18:10:44 +0100 Subject: [PATCH] submit13 --- cv3/program.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cv3/program.c b/cv3/program.c index 99beb8a..6f0359a 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -24,7 +24,11 @@ int main() counter++; } if(result==0){ - printf("Nepodarilo sa nacitat polynom na %d mieste.\n",counter); + if(counter==0){ + printf("Nepodarilo sa nacitat zaklad x\n"); + }else{ + printf("Nepodarilo sa nacitat polynom na %d mieste.\n",counter); + } return 0; } for(int j=1; j