From eaac8cc6637d8d41e5be3528cf3ce44705b9b6b2 Mon Sep 17 00:00:00 2001 From: "Alice (KhodyukMR)" Date: Mon, 1 Apr 2024 13:29:14 +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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.cpp b/main.cpp index a81b033..c60aa5e 100644 --- a/main.cpp +++ b/main.cpp @@ -8,5 +8,11 @@ int main() { cout << "A - B = " << a - b << endl; cout << "A * B = " << a * b << endl; cout << "A / B = " << a / b << endl; + if (a <= b) { + cout << "Max = " << b << endl; + } + else { + cout << "Max = " << a << endl; + } return 0; }