Update cv7/program.c

This commit is contained in:
Yurii Yakovenko 2024-11-11 22:39:13 +00:00
parent c6be70ace4
commit ef3a24dd07

View File

@ -91,19 +91,28 @@ int main(void)
{
p=p->right; break;
}
else if(t==-1)
{
printf("Koniec vstupu\n");
break;
}
else if(t!='\n')
{
printf("Nerozumiem\n");
t=44;
break;
}
}while(1);
}while(t!=44);
if(t!=44) printf("Koniec\n");
if(t!=44&&t!=-1) printf("Koniec\n");
destroy_tree(tr);
tr=NULL;
return 0;
}