Update cv7/program.c
This commit is contained in:
parent
5fb56ef411
commit
76c7f674bf
@ -51,7 +51,6 @@ void spusti_expert_system(struct strom* uzol) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
char odpoved;
|
char odpoved;
|
||||||
printf(" (a/n): ");
|
|
||||||
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("Očakávala sa odpoveď 'a' alebo 'n'.\n");
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user