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