From 0a9f1121228653b9940e31be8cd445df447e6027 Mon Sep 17 00:00:00 2001 From: "Alice (ShinkarenkoVA)" <shinkarenkova@mpei.ru> Date: Sun, 7 Apr 2024 20:16:09 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=D0=B8=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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.cpp b/main.cpp index 149548b..a765d63 100644 --- a/main.cpp +++ b/main.cpp @@ -14,4 +14,9 @@ int main() cout << " A - B = " << a - b << '\n'; cout << " A * B = " << a * b << '\n'; cout << " A / B = " << a / b << '\n'; + + if (a > b){ + cout << "Maximum: " << a; + } + else cout << "Maximum: " << b; }