From 2305a3ac6621cba4903b9697921dea7b97e6e317 Mon Sep 17 00:00:00 2001 From: "Alice (LiTH)" Date: Sun, 26 Mar 2023 23:27:58 +0300 Subject: [PATCH] code: addition --- main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index b4392ec..8e4f1b8 100644 --- a/main.cpp +++ b/main.cpp @@ -4,6 +4,9 @@ using namespace std; int main() { - cout << "Hello world!" << endl; + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; + cout << "a + b = " << a + b << "\n"; return 0; }