Update cv7/program.c
This commit is contained in:
parent
4f0cef482d
commit
c2bcbcfff8
@ -52,7 +52,7 @@ void spusti_expert_system(struct strom* uzol) {
|
|||||||
|
|
||||||
char odpoved;
|
char odpoved;
|
||||||
if (scanf(" %c", &odpoved) != 1 || (odpoved != 'a' && odpoved != 'n')) {
|
if (scanf(" %c", &odpoved) != 1 || (odpoved != 'a' && odpoved != 'n')) {
|
||||||
printf("Očakávala sa odpoveď 'a' alebo 'n'.\n");
|
printf("Nerozumiem\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user