From 5c686ff7b09fd51673ec70ca95ab8aaf4bcae3db Mon Sep 17 00:00:00 2001 From: "Alice (RumyantsevVA)" Date: Thu, 7 Sep 2023 02:26:03 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=BC=D0=B0=D0=BA=D1=81=D0=B8=D0=BC?= =?UTF-8?q?=D1=83=D0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/project.cpp b/project.cpp index 4be73d1..f187a6c 100644 --- a/project.cpp +++ b/project.cpp @@ -14,7 +14,14 @@ int main() << "A - B = " << a - b << '\n' << "A * B = " << a * b << '\n' << "A / B = " << a / b << '\n'; - + if (a > b) + { + cout << a; + } + if (b > a) + { + cout << b; + } }