From 1675394adc5c1472e3d652427a37c3b258e51b80 Mon Sep 17 00:00:00 2001 From: "Alice (GalkinMK)" Date: Mon, 17 Mar 2025 14:22:13 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BB=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B7=D0=BD=D0=BE=D1=81=D1=82=D0=B8=20a,b?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 2875d12..fae5b4f 100644 --- a/main.cpp +++ b/main.cpp @@ -7,6 +7,8 @@ int main() cout << "Enter A and B: "; int a, b; cin >> a >> b; - cout << a+b; + cout << "A + B = " << a + b << '\n' + << "A - B = " << a - b << '\n'; + }