du5
This commit is contained in:
parent
6d96a58aa6
commit
35a304eca8
@ -76,7 +76,7 @@ void start(Tree *node) {
|
|||||||
printf("%s\n", node->text);
|
printf("%s\n", node->text);
|
||||||
|
|
||||||
if (fgets(input, SIZE, stdin) == NULL) {
|
if (fgets(input, SIZE, stdin) == NULL) {
|
||||||
printf("Nespravny vstup\n");
|
printf("Nerozumiem\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ void start(Tree *node) {
|
|||||||
} else if (input[i] == 'n') {
|
} else if (input[i] == 'n') {
|
||||||
node = node->no;
|
node = node->no;
|
||||||
} else {
|
} else {
|
||||||
printf("Nespravny vstup\n");
|
printf("Nerozumiem\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user