From 2fe44de13070a75b9f219d189e36812f864e746f Mon Sep 17 00:00:00 2001 From: "bob(PiapiyevaAV)" Date: Sun, 30 Mar 2025 14:02:07 +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=BC=D0=B8=D0=BD=D0=B8=D0=BC=D1=83=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main.cpp b/main.cpp index c341772..296fc03 100644 --- a/main.cpp +++ b/main.cpp @@ -20,5 +20,14 @@ int main() else { cout << "a = b" << endl; } + if (a > b) { + cout << b << endl; + } + else if (b > a) { + cout << a << endl; + } + else { + cout << "a = b" << endl; + } return 0; }