From 02faf4462e2973ac8f7cb88accbb41925d1c892a Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 25 Oct 2021 14:07:25 +0800 Subject: [PATCH] Fix a bug --- 03/3/3.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/03/3/3.c b/03/3/3.c index 2e4af1e..c136fee 100644 --- a/03/3/3.c +++ b/03/3/3.c @@ -6,9 +6,10 @@ int number(int num){ if (a == 0 || b == 0 || c == 0) { printf("Can be divisible by "); - if (a == 0) + if (a == 0){ first = 0; printf("3"); + } if (b == 0){ if (first) { printf("5");