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; }