From a7e68d397f4da21123542d4030b814fdedf16f7f Mon Sep 17 00:00:00 2001 From: ak643du Date: Wed, 27 Mar 2024 14:41:20 +0100 Subject: [PATCH] Initialization# --- a1/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a1/program.c b/a1/program.c index 54351d9..ec8c068 100644 --- a/a1/program.c +++ b/a1/program.c @@ -33,7 +33,7 @@ int main() { // Check for division by zero if (op == '/' && num2 == 0) { printf("ZLE\n"); - return 1; + return 0; } // Perform the calculation