Update cv3/program.c
This commit is contained in:
parent
6dce319833
commit
3f3d7ccb34
@ -61,7 +61,7 @@ int perform_operation(Calculator *calc, char op) {
|
|||||||
break;
|
break;
|
||||||
case '/':
|
case '/':
|
||||||
if (b == 0) {
|
if (b == 0) {
|
||||||
printf("division by zero\n");
|
printf("division by zero");
|
||||||
bub = 1;
|
bub = 1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user