From 12812daa6ae5ea0a1d4716005090efdc0586bc4a Mon Sep 17 00:00:00 2001 From: "Alice (YershovArA)" Date: Sun, 26 Mar 2023 23:09:04 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=D0=B0?= =?UTF-8?q?=20=D1=81=D1=83=D0=BC=D0=BC=D1=8B=20=D0=B8=20=D1=80=D0=B0=D0=B7?= =?UTF-8?q?=D0=BD=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 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/main.cpp b/main.cpp index 8b13789..b77eb33 100644 --- a/main.cpp +++ b/main.cpp @@ -1 +1,12 @@ +#include +#include +using namespace std; +int main(){ + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; + cout << "A + B = " << a + b << '\n'; + cout << "A - B = " << a - b << '\n'; + +}