From 22be7f39c4e83fdfe02e0c75c8d4b20ec629a5b8 Mon Sep 17 00:00:00 2001 From: rogozinay Date: Sun, 19 Nov 2023 17:54:14 +0300 Subject: [PATCH] =?UTF-8?q?build:=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=D1=80=D0=B0?= =?UTF-8?q?=D0=B7=D0=BD=D0=BE=D1=81=D1=82=D0=B8=20a=20=D0=B8=20b?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/main.cpp b/main.cpp index 1008718..4e76e8a 100644 --- a/main.cpp +++ b/main.cpp @@ -5,9 +5,11 @@ using namespace std; int main() { cout << "Enter A and B: " << endl; - int a, b; - cin >> a >> b; - + int a, b, c; d; + c = a + b; + d = a - b; + count << c; + count << d; return 0; }