From bbd2e0f0453c44fa85207821bc76036697250b4a Mon Sep 17 00:00:00 2001 From: Yurii Chechur Date: Sun, 13 Oct 2024 15:09:40 +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 2a346a1..93d0267 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -91,7 +91,7 @@ int read(struct stack *s) { case '*': result = a * b; break; case '/': if (b == 0) { - printf("no input\n"); + printf("division by zero\n"); exit(1); // Exit on division by zero } result = a / b;