From 804a3948d9da0cc8e034b46f476e245c79c9bdf3 Mon Sep 17 00:00:00 2001 From: "Alice (SemionovaVV)" Date: Mon, 13 Oct 2025 23:06:28 +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?= 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 eac5055..fe29f97 100644 --- a/main.cpp +++ b/main.cpp @@ -1,10 +1,12 @@ #include - using namespace std; -int main() -{ +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; }