From b615f164afa95a45b8b33c135f53f0d7476e7a02 Mon Sep 17 00:00:00 2001 From: "Bob (GaidaiAS)" <GaidaiAS@mpei.ru> Date: Fri, 4 Apr 2025 03:35:28 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=BD=D0=B0=D1=85=D0=BE=D0=B6=D0=B4?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BC=D0=B8=D0=BD=D0=B8=D0=BC=D1=83?= =?UTF-8?q?=D0=BC=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main.cpp b/main.cpp index 69fdd13..95b55e7 100644 --- a/main.cpp +++ b/main.cpp @@ -11,5 +11,12 @@ int main() << "A - B = " << a - b << '\n' << "A * B = " << a * b << '\n' << "A / B = " << a / b << '\n'; + if (a<b) + { + cout << "min = " << a << '\n'; + } + else{ + cout << "min = " << b << '\n'; + } return 0; }