This commit is contained in:
kr820js 2024-03-03 18:10:44 +01:00
parent 7ec7f5484b
commit c2e2132317

View File

@ -24,7 +24,11 @@ int main()
counter++; counter++;
} }
if(result==0){ if(result==0){
if(counter==0){
printf("Nepodarilo sa nacitat zaklad x\n");
}else{
printf("Nepodarilo sa nacitat polynom na %d mieste.\n",counter); printf("Nepodarilo sa nacitat polynom na %d mieste.\n",counter);
}
return 0; return 0;
} }
for(int j=1; j<counter; j++){ for(int j=1; j<counter; j++){