From c706bd27864656ea6780c55d46a1b7f5aea3b14e Mon Sep 17 00:00:00 2001 From: "Bob (PivovarovYV)" Date: Mon, 27 Mar 2023 16:27:57 +0300 Subject: [PATCH] =?UTF-8?q?build:=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=BF=D0=BE=D0=B8=D1=81=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=BC=D0=B8=D0=BD=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 --- Source.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Source.cpp b/Source.cpp index 3764385..f3810f8 100644 --- a/Source.cpp +++ b/Source.cpp @@ -8,10 +8,19 @@ main() { << "A - B = " << a - b << '\n' << "A * B = " << a * b << '\n' << "A / B = " << a / b << '\n'; + if (a > b) { cout << a; } else { cout << b; } + + if (b < a) { + cout << b; + } + else { + cout << a; + } + } \ No newline at end of file