This commit is contained in:
Oleksandr Vyshniakov 2025-03-01 22:52:49 +01:00
parent ec4942d753
commit e35dca3434
2 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@ int main() {
result2 = cislo1 * cislo2;
break;
case '/':
if (cislo2 == 0 || znak == ':') {
printf("CHYBA\n");
if (cislo2 == 0) {
printf("ZLE\n");
return 0;
}
result2 = cislo1 / cislo2;

Binary file not shown.