From 3486ce1d6f0a9e6a1668a2feba79b94220cb7d2f Mon Sep 17 00:00:00 2001 From: "Bob (InanovII)" <eeegor-s@yandex.ru> Date: Mon, 20 Mar 2023 15:10:12 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B1=D0=BE=D0=B1=20=D1=81=D0=B4=D0=B5?= =?UTF-8?q?=D0=BB=D0=B0=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 5203d3c..ca90573 100644 --- a/main.cpp +++ b/main.cpp @@ -10,9 +10,16 @@ int main() << "A - B = " << a - b << '\n' << "A * B = " << a * b << '\n' << "A / B = " << a / b << '\n'; - if (A>=B) + + if (a>=b) + { + cout<<a; + } + + + if (a<=b) { - cout<<A; + cout<<b; } }