diff --git a/cv3/program.c b/cv3/program.c index 33fb3ec..c5d5af2 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -66,6 +66,7 @@ int main(){ float a = pop_stack(&myStack); if(a == 0){ printf("division by zero\n"); + break; }else{ float b = pop_stack(&myStack); float c = b/a;