diff --git a/du3/program.c b/du3/program.c index b70a025..84c7719 100644 --- a/du3/program.c +++ b/du3/program.c @@ -16,6 +16,7 @@ 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 { printf("Nepodarilo sa nacitat polynom na %d mieste.\n", p); return 0;