This commit is contained in:
kr820js 2024-03-03 18:08:32 +01:00
parent d90e55dcdb
commit 7ec7f5484b

View File

@ -24,6 +24,7 @@ int main()
counter++; counter++;
} }
if(result==0){ if(result==0){
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++){
@ -52,7 +53,6 @@ int reading_input(double *number){
buffer[j]='\0'; buffer[j]='\0';
break; break;
} }
printf("You have entered wrong number.\n");
return 0; return 0;
} }
if(buffer[0]=='\0'){ if(buffer[0]=='\0'){