From c3267ce6dba0b1b46d2de5570dea878e029a0a92 Mon Sep 17 00:00:00 2001 From: "Alice (FonovAD)" Date: Mon, 27 Mar 2023 10:10:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B0=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D0=BC?= =?UTF-8?q?=D0=B0=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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.cpp b/main.cpp index e1bdc54..2816e67 100644 --- a/main.cpp +++ b/main.cpp @@ -10,5 +10,13 @@ int main() << "A - B = " << a - b << '\n' << "A * B = " << a * b << '\n' << "A / B = " << a / b << '\n'; + if (a > b) + { + cout << "A = " << a << '\n'; + } + else + { + cout << "B = " << b << '\n'; + } return 0; } \ No newline at end of file