Update 'cv8/program.c'
This commit is contained in:
parent
fab60f2ad0
commit
526b52b477
@ -96,7 +96,7 @@ void knowledge_system(struct tree* node) {
|
||||
return;
|
||||
}
|
||||
|
||||
printf("%s", node->value);
|
||||
printf("%s", node->v);
|
||||
if (node->left == NULL && node->right == NULL) {
|
||||
printf("Koniec\n");
|
||||
return;
|
||||
@ -106,7 +106,7 @@ void knowledge_system(struct tree* node) {
|
||||
|
||||
char response;
|
||||
do {
|
||||
printf("%s (a/n) ?\n", node->value);
|
||||
printf("%s (a/n) ?\n", node->v);
|
||||
scanf(" %c", &response);
|
||||
if (response != 'a' && response != 'n') {
|
||||
printf("Nespravny vstup\n");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user