From 2fdb42dffa15d390c57dac57ecee7eb64b160d77 Mon Sep 17 00:00:00 2001 From: "Alice (OvsiannikovRS)" Date: Mon, 7 Apr 2025 02:33:01 +0300 Subject: [PATCH] code: add difference A&B --- main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 4364dbc..3ec5517 100644 --- a/main.cpp +++ b/main.cpp @@ -7,5 +7,7 @@ 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' + << "A - B = " << a - b << '\n'; + }