From c29d4f205701d2495c98dbbbf2b95e82823605c0 Mon Sep 17 00:00:00 2001 From: "Alice (KriviAS)" Date: Sun, 24 Mar 2024 20:42:48 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D1=80=D0=B0=D0=B1=D0=BE?= =?UTF-8?q?=D1=82=D0=BA=D0=B0=20(+/-)?= 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 b4392ec..2fbd623 100644 --- a/main.cpp +++ b/main.cpp @@ -4,6 +4,8 @@ using namespace std; int main() { - cout << "Hello world!" << endl; - return 0; + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; + cout << a+b; }