From 1b416dba57d955e5b56b93be33634276008d7ecc Mon Sep 17 00:00:00 2001 From: nk365yf Date: Thu, 16 Oct 2025 21:28:33 +0200 Subject: [PATCH] fix5 --- du3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/du3/program.c b/du3/program.c index ec82522..f9efcdb 100644 --- a/du3/program.c +++ b/du3/program.c @@ -72,7 +72,7 @@ int main(){ if (input[0]=='-') result=a-b; if (input[0]=='*') result=a*b; if (input[0]=='/'){ - if (b==0) {printf("division by zero");return 0;} + if (b==0) {printf("division by zero\n");return 0;} result=a/b; } push(&mystack, result);