This commit is contained in:
Weber 2024-10-14 13:39:38 +00:00
parent a495dc3d88
commit 95af0b465e

View File

@ -99,7 +99,7 @@ int main() {
else if (sscanf(vstup, "%c", &operacia) == 1) { else if (sscanf(vstup, "%c", &operacia) == 1) {
if (!je_platna_operacia(operacia)) { if (!je_platna_operacia(operacia)) {
printf("bad input\n"); printf("bad input\n");
continue; return 0;
} }
switch (operacia) { switch (operacia) {
case '+': case '+':