From 36b64edb95c2edc784fedc08429dc7366c0f17f5 Mon Sep 17 00:00:00 2001 From: "Bob (RumyantsevVA)" Date: Thu, 7 Sep 2023 02:29:43 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=BC=D0=B8=D0=BD=D0=B8=D0=BC=D1=83?= =?UTF-8?q?=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/project.cpp b/project.cpp index f187a6c..889ada8 100644 --- a/project.cpp +++ b/project.cpp @@ -22,8 +22,14 @@ int main() { cout << b; } - - + if (a>b) + { + cout << b; + } + if (b > a) + { + cout << a; + } } // Запуск программы: CTRL+F5 или меню "Отладка" > "Запуск без отладки"