From 3260b707d18abf209c350647a5a873d884b2992a Mon Sep 17 00:00:00 2001 From: "Alice(GavrilenkoMA)" Date: Mon, 31 Mar 2025 14:01:18 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D0=BC=D0=B0?= =?UTF-8?q?=D0=BA=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 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main.cpp b/main.cpp index d59ec3a..94ebba3 100644 --- a/main.cpp +++ b/main.cpp @@ -11,5 +11,12 @@ int main() << "A - B = " << a - b << "\n" << "A * B = " << a * b << "\n" << "A / B = " << a / b << "\n"; + + if (a > b) { + cout << "Max(A,B) = " << a << "\n"; + } + else { + cout << "Max(A,B) = " << b << "\n"; + } return 0; }