Update cv3/program.c

This commit is contained in:
Viktor Daniv 2024-10-07 12:31:16 +00:00
parent bc1432d64e
commit caa7717451

View File

@ -62,7 +62,7 @@ int perform_operation(Calculator *calc, char op) {
case '/':
if (b == 0) {
printf("division by zero\n");
return 0;
break;
}
push(calc, a / b);
break;