From fa9995445d7441a448e7ec1205679945e3f41193 Mon Sep 17 00:00:00 2001 From: "Alice (ZeninaVA)" Date: Mon, 24 Mar 2025 17:16:30 +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=D0=B8=D0=B5=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=D0=B0?= =?UTF-8?q?=20=D0=BC=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=D0=B0=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D0=BE=D0=B3=D0=BE=20=D0=B8=D0=B7=20=D0=B4=D0=B2=D1=83=D1=85=20?= =?UTF-8?q?=D1=87=D0=B8=D1=81=D0=B5=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/project/main.cpp b/project/main.cpp index ad39ff5..43d351b 100644 --- a/project/main.cpp +++ b/project/main.cpp @@ -11,4 +11,11 @@ cout << "A + B = " << a + b << '\n' << "A - B = " << a - b << '\n' << "A * B = " << a * b << '\n' << "A / B = " << a / b << '\n'; + if (a > b) { + cout << "Максимальное число: " << a << endl; + } else { + cout << "Максимальное число: " << b << endl; + } + + return 0; }