This commit is contained in:
Andrii Hermaniuk 2022-03-18 14:46:14 +01:00
parent 6dca91fd46
commit dfe5a8664d

View File

@ -14,6 +14,7 @@ int main(){
if((ch<='9'&&ch>='0')||(ch=='.')||(ch==EOF)||(ch==' ')||(ch=='\n')); if((ch<='9'&&ch>='0')||(ch=='.')||(ch==EOF)||(ch==' ')||(ch=='\n'));
else { else {
printf("Nepodarilo sa nacitat polynom na 2 mieste.\n"); printf("Nepodarilo sa nacitat polynom na 2 mieste.\n");
return 0;
} }
pol[idx]=ch; pol[idx]=ch;
} }