From 9f3601a2e9a34d769f991134dc2afc268488e594 Mon Sep 17 00:00:00 2001 From: "Alice (AntonovDA)" Date: Sun, 24 Mar 2024 17:23:23 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=BC=D0=B0=D0=BA=D1=81=20=D1=87=D0=B8?= =?UTF-8?q?=D1=81=D0=BB=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main2.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main2.cpp b/main2.cpp index 5b58b9d..6061455 100644 --- a/main2.cpp +++ b/main2.cpp @@ -10,6 +10,14 @@ int main() << "A - B = " << a - b << '\n' << "A * B = " << a * b << '\n' << "A / B = " << a / b << '\n'; + if (a < b) + { + cout << " max element is " << b; + } + else + { + cout << " max element is " << a; + }; return 0; } \ No newline at end of file