diff --git a/cv3/program.c b/cv3/program.c index 891e7bc..3d9ae1e 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -74,7 +74,7 @@ int perform_operation(Calculator *calc, char op) { } print_stack(calc); - if(bub == 0) { + if(b != 0) { printf("no input\n"); } return 1;