From 1751a96a235d0e63a11e8049b14c9443c246ac6d Mon Sep 17 00:00:00 2001 From: "Alice (EremenkoMS)" Date: Tue, 15 Apr 2025 23:06:11 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B7=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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 98663fd..cb811df 100644 --- a/main.cpp +++ b/main.cpp @@ -2,9 +2,11 @@ using namespace std; -int main() +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'; return 0; }