From 6dce31983317265188de819489172254d8b4f90c Mon Sep 17 00:00:00 2001 From: Viktor Daniv Date: Mon, 7 Oct 2024 12:38:59 +0000 Subject: [PATCH] Update cv3/program.c --- cv3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;