From b89de01b83766fc134269912a3443e0d1aeb6573 Mon Sep 17 00:00:00 2001 From: "Alice (KireevYP)" Date: Mon, 11 Mar 2024 15:00:13 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D1=81=D1=83?= =?UTF-8?q?=D0=BC=D0=BC=D1=8B?= 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 eb8fb64..441ba6a 100644 --- a/main.cpp +++ b/main.cpp @@ -4,7 +4,9 @@ using namespace std; int main() { cout << "Enter A and B:" << endl; - int a, b; + int a, b, c; cin >> a >> b; + c = a + b; + cout <<"Sum:" << c; return 0; }