aaaa
This commit is contained in:
parent
c44e0c4ec2
commit
24614ed903
@ -11,7 +11,7 @@ int main(){
|
|||||||
for(int idx=0;1;idx++ ){
|
for(int idx=0;1;idx++ ){
|
||||||
ch=getchar();
|
ch=getchar();
|
||||||
if(ch==EOF||ch==' ')break;
|
if(ch==EOF||ch==' ')break;
|
||||||
if((ch<'9'&&ch>'0')||ch=='.'||(ch==EOF)||(ch==' ')||ch=='\n');
|
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;
|
pol[idx]=ch;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user