medzera pred nacitavanim ignoruje whitespace

This commit is contained in:
Kamil Gejdoš 2026-04-14 21:29:50 +00:00
parent 586b4d1a42
commit 7363b14b50

View File

@ -46,7 +46,7 @@ void spustac(struct uzol* uzol) {
return;
}
char odpoved; // iacitavam a/n
scanf("%c",&odpoved);
scanf(" %c",&odpoved);
if (odpoved == 'a') {
spustac (uzol -> lavy);
@ -80,22 +80,3 @@ int main() {
return 0;
}