push
This commit is contained in:
parent
d40f2e4745
commit
06d14fdc9b
@ -56,7 +56,7 @@ void spusti_system(struct strom* uzol) {
|
|||||||
char odpoved[SIZE];
|
char odpoved[SIZE];
|
||||||
memset(odpoved, 0, SIZE);
|
memset(odpoved, 0, SIZE);
|
||||||
if (fgets(odpoved, SIZE, stdin) == NULL) {
|
if (fgets(odpoved, SIZE, stdin) == NULL) {
|
||||||
printf("Chybny vstup.\n");
|
printf("Nerozumiem\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ void spusti_system(struct strom* uzol) {
|
|||||||
} else if (odpoved[0] == 'n') {
|
} else if (odpoved[0] == 'n') {
|
||||||
spusti_system(uzol->nie);
|
spusti_system(uzol->nie);
|
||||||
} else {
|
} else {
|
||||||
printf("Chybny vstup.\n");
|
printf("Nerozumiem\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user