From 5ebbcc77f5cf056db76068a085c77aeffc321a66 Mon Sep 17 00:00:00 2001 From: "Alice (KolomeytsevDA)" Date: Mon, 8 Apr 2024 19:07:36 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D1=81?= =?UTF-8?q?=D1=83=D0=BC=D0=BC=D1=8B=20=D0=B8=20=D1=80=D0=B0=D0=B7=D0=BD?= =?UTF-8?q?=D0=BE=D1=81=D1=82=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/main.cpp b/main.cpp index e69de29..5033669 100644 --- a/main.cpp +++ b/main.cpp @@ -0,0 +1,13 @@ +#include + +using namespace std; + +int main() +{ + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; + cout << "A + B = " << a + b << '\n' + << "A - B = " << a - b << '\n'; + return 0; +}