Aktualizovat du3/program.c
This commit is contained in:
parent
2d5c571530
commit
b79250ccee
@ -66,7 +66,7 @@ int main() {
|
|||||||
case '/':
|
case '/':
|
||||||
if (b == 0) {
|
if (b == 0) {
|
||||||
printf("division by zero\n");
|
printf("division by zero\n");
|
||||||
return 1;
|
return 0;
|
||||||
}
|
}
|
||||||
result = a/b;
|
result = a/b;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user