This commit is contained in:
Maryna Kravtsova 2020-11-22 17:47:45 +01:00
parent 84d657e470
commit 29b7b83a3c

View File

@ -48,7 +48,7 @@ void search(struct tree* this){
if(buffer[0] == '\n'){
search(this);
}
else if(buffer[0] != 'a' || buffer[0] != 'n'){
else if(buffer[0] != 'a' || buffer[0] != 'n' || buffer[0] != '\n'){
printf("Nerozumiem\n");
exit(0);
}