From a58569fd70b3023546e1730a1b891f7e4530102f Mon Sep 17 00:00:00 2001 From: "Alice (SokolovMI)" Date: Sun, 28 May 2023 20:10:37 +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=20=D0=B4=D0=B2=D1=83=D1=85=20=D1=87=D0=B8?= =?UTF-8?q?=D1=81=D0=B5=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project.cpp b/project.cpp index ccf45f2..7423abc 100644 --- a/project.cpp +++ b/project.cpp @@ -4,6 +4,7 @@ using namespace std; int main() { cout << "Enter A and B: "; - int a, b; + double a, b; cin >> a >> b; + cout << "A + B = " << a + b << '\n'; }