This commit is contained in:
Andrii Hermaniuk 2022-04-07 16:55:06 +02:00
parent 0e205349ec
commit 7e1c79923a

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'){ }else if(value==0&&line[0]!='\n'&&size==0){
printf("Nepodarilo nacitat nic\n"); printf("Nepodarilo nacitat nic\n");
return 0; return 0;
} }