diff --git a/du3/program.c b/du3/program.c index 9185935..08c192b 100644 --- a/du3/program.c +++ b/du3/program.c @@ -14,6 +14,7 @@ int main(){ if((ch<='9'&&ch>='0')||(ch=='.')||(ch==EOF)||(ch==' ')||(ch=='\n')); else { printf("Nepodarilo sa nacitat polynom na 2 mieste.\n"); + return 0; } pol[idx]=ch; }