From c449bc7360f300909e663982c3feae55a56cb062 Mon Sep 17 00:00:00 2001 From: Zakhar <zakhar@MacBook-Air-Zakhar.local> Date: Wed, 24 Apr 2024 02:50:56 +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=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D0=BC=D0=B8=D0=BD?= =?UTF-8?q?=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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.cpp b/main.cpp index 6065601..ae7d65a 100644 --- a/main.cpp +++ b/main.cpp @@ -17,5 +17,13 @@ int main(){ { cout << " max element is " << a; } + if (a > b) + { + cout << " min element is " << b; + } + else + { + cout << " min element is " << a; + }; return 0; } \ No newline at end of file