test
This commit is contained in:
parent
9d81ea1d12
commit
38a891622b
@ -41,8 +41,10 @@ void spusti_system(Uzol *uzol) {
|
||||
return;
|
||||
}
|
||||
|
||||
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
|
||||
printf("%s\n", uzol->text);
|
||||
if (uzol != NULL) {
|
||||
printf("Odpovedajte 'a' pre prvu moznost alebo 'n' pre druhu moznost.\n");
|
||||
printf("%s\n", uzol->text);
|
||||
}
|
||||
|
||||
char odpoved;
|
||||
if (scanf(" %c", &odpoved) != 1 || (odpoved != 'a' && odpoved != 'n')) {
|
||||
|
Loading…
Reference in New Issue
Block a user