diff --git a/du6/program.c b/du6/program.c index 4a95b57..fa31b49 100644 --- a/du6/program.c +++ b/du6/program.c @@ -100,10 +100,10 @@ int main(void){ whitespace = true; break; } -}; +} bool found = find_the_incorrect(tree); printf("Expert z bufetu to vie.\n"); - if(!tree || !whitespace || found || strcmp(tree->value, "Je to ovocie alebo zelenina") != 0){ + if(!tree || !whitespace || found || strcmp(tree->value, "Rastie to nad zemou alebo pod zemou ?") == 0){ printf("Chybna databaza\n"); return 0; }