This commit is contained in:
Andrii Hermaniuk 2022-03-18 14:45:24 +01:00
parent 24614ed903
commit 6dca91fd46

View File

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