From 4968b4c66fc4071a51adc2b4bb8624e2116348aa Mon Sep 17 00:00:00 2001 From: Maksym Prymierov Date: Wed, 15 Sep 2021 14:29:54 +0300 Subject: [PATCH] new message --- main.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index ea780bd..bfc97fa 100644 --- a/main.cpp +++ b/main.cpp @@ -2,8 +2,14 @@ int main() { - int a = 5; - int b = 5; + int a; + int b; + + std::cout << "a: "; + std::cin >> a; + + std::cout << "b: "; + std::cin >> b; std::cout << a << " + " << b << " = " << a + b << std::endl;