From 037c71fe7856ec34197ab8b6faa6baaf3bbd5d7c Mon Sep 17 00:00:00 2001 From: "Alice (BelozerovIA)" Date: Mon, 7 Apr 2025 02:43:48 +0300 Subject: [PATCH] =?UTF-8?q?code:=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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.cpp b/main.cpp index 5d962c6..b9b2aa6 100644 --- a/main.cpp +++ b/main.cpp @@ -11,5 +11,9 @@ int main() << "A - B = " << a-b << "\n" << "A * B = " << a*b << "\n" << "A / B = " << a/b << "\n"; + if (a>b) + cout << "Max = " << a << "\n"; + else + cout << "Max = " << b << "\n"; return 0; }