From fbe0f3634a30d1abf94bc92c5bd672b84be993e0 Mon Sep 17 00:00:00 2001 From: "Bob (DeviatovaMY)" Date: Sun, 31 Mar 2024 17:07:08 +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=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D0=BC=D0=B8?= =?UTF-8?q?=D0=BD=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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 54a1a6c..c211693 100644 --- a/main.cpp +++ b/main.cpp @@ -12,7 +12,9 @@ int main() << "A * B = " << a * b << "\n" << "A / B = " << a / b << "\n"; if (a > b) { - cout << "max is a: " << a << "\n"; + cout << "max is a: " << a << "\n" + << "min is b: " << b << "\n"; } - else cout << "max is b: " << b << "\n"; + else cout << "max is b: " << b << "\n" + << "min is a: " << a << "\n"; }