This commit is contained in:
Vadym Afanasiev 2026-03-20 13:01:56 +00:00
parent 18d993b1d3
commit a54f0f56f4

View File

@ -44,7 +44,7 @@ int main() {
continue; continue;
} }
// resultat // resultat ye
double teraz; double teraz;
switch (op) { switch (op) {
case '+': case '+':
@ -58,7 +58,8 @@ int main() {
break; break;
case '/': case '/':
if (n2 == 0.0) { if (n2 == 0.0) {
printf("CHYBA\n");
printf("ZLE\n");
continue; continue;
} }
teraz = n1 / n2; teraz = n1 / n2;