From b0d09c92e70667640cdbb1c177091a84d93f0f7b Mon Sep 17 00:00:00 2001 From: "Alice (ButkoZV)" Date: Wed, 24 Apr 2024 02:32:31 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D0=BC=D0=B0=D0=BA?= =?UTF-8?q?=D1=81=D0=B8=D0=BC=D1=83=D0=BC=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.cpp b/main.cpp index f234e19..6065601 100644 --- a/main.cpp +++ b/main.cpp @@ -9,5 +9,13 @@ int main(){ cout << "A - B = " << a - b << '\n'; cout << "A * B = " << a * b << '\n'; cout << "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