From 3b7cd9404a9f49b0122dcb8fa671b89af0b5dc8f Mon Sep 17 00:00:00 2001 From: Tony Yang Date: Mon, 27 Dec 2021 04:51:54 +0800 Subject: [PATCH] [Update] remove unnecessary condition --- 109062273_cli.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/109062273_cli.cpp b/109062273_cli.cpp index 90b15e1..7b52342 100644 --- a/109062273_cli.cpp +++ b/109062273_cli.cpp @@ -100,11 +100,8 @@ int main(int argc, char const *argv[]) { continue; } - if (count != "0") { - cout << "Answer is fewer than " << upper << endl; - cout << "Answer is more than " << lower << endl; - } - + cout << "Answer is fewer than " << upper << endl; + cout << "Answer is more than " << lower << endl; // space cout << endl; }