This commit is contained in:
Deinerovych 2024-11-08 13:51:59 +01:00
parent a808610dda
commit 89f91eaf1c

View File

@ -55,7 +55,7 @@ void run_expert_system(Node *node) {
while (node) { while (node) {
if (!node->yes && !node->no) { // Достигнут конечный узел if (!node->yes && !node->no) { // Достигнут конечный узел
printf("*%s\n", node->text); printf("*%s\n", node->text);
printf("Koniec\n"); printf("Koniec vstupu\n");
return; return;
} }
@ -64,7 +64,7 @@ void run_expert_system(Node *node) {
char answer; char answer;
if (scanf(" %c", &answer) != 1) { if (scanf(" %c", &answer) != 1) {
printf("Koniec\n"); printf("Koniec vstupu\n");
return; return;
} }