This commit is contained in:
Andrii Hermaniuk 2022-04-07 17:00:09 +02:00
parent 29999f482a
commit 2222e464b7

View File

@ -33,7 +33,7 @@ int main(){
if (value == 0&&line[0]=='\n'){ if (value == 0&&line[0]=='\n'){
// Premena sa nepodarila // Premena sa nepodarila
break; break;
}else if(value==0&&line[0]!='\n'&&size==0){ }else if((value==0&&line[0]!='\n'&&size==0)||(size==0&&line==EOF)){
printf("Nepodarilo nacitat nic\n"); printf("Nepodarilo nacitat nic\n");
return 0; return 0;
} }