From 4e32277b71d177da05cbe7dc598ae076f1697e9f Mon Sep 17 00:00:00 2001 From: "Bob (ChaginSA)" Date: Mon, 17 Apr 2023 15:58:27 +0300 Subject: [PATCH] =?UTF-8?q?=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 --- project/main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/project/main.cpp b/project/main.cpp index 1b75c1e..e9ee8f8 100644 --- a/project/main.cpp +++ b/project/main.cpp @@ -10,6 +10,9 @@ cout << "A + B = " << a + b<< '\n' << "A - B = " << a - b << '\n' << "A * B = " << a * b << '\n' << "A / B = " << a / b << '\n'; - if (a>=b) cout << "max=" << a; - else cout << "max=" << b; + if (a>=b) cout << "max=" << a<< '\n'; + else cout << "max=" << b<< '\n'; + if (a>=b) cout << "min=" << b<< '\n'; + else cout << "min=" << a<< '\n'; + }