From 6dca91fd46fe9b9e2b4c91b18d4bb1867dc3bd34 Mon Sep 17 00:00:00 2001 From: Andrii Hermaniuk Date: Fri, 18 Mar 2022 14:45:24 +0100 Subject: [PATCH] aaaa --- du3/program.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/du3/program.c b/du3/program.c index 6a21432..9185935 100644 --- a/du3/program.c +++ b/du3/program.c @@ -12,7 +12,9 @@ int main(){ ch=getchar(); if(ch==EOF||ch==' ')break; if((ch<='9'&&ch>='0')||(ch=='.')||(ch==EOF)||(ch==' ')||(ch=='\n')); - else printf("Nepodarilo sa nacitat polynom na 2 mieste.\n"); + else { + printf("Nepodarilo sa nacitat polynom na 2 mieste.\n"); + } pol[idx]=ch; }