From 595d3dc57b4e3e37b909254850d5d2bf7d200b32 Mon Sep 17 00:00:00 2001 From: "Alice (RumyantsevVA)" Date: Thu, 7 Sep 2023 02:49:17 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=B5=D0=B9=D1=81=D1=82=D0=B2?= =?UTF-8?q?=D0=B8=D1=82=D0=B5=D0=BB=D1=8C=D0=BD=D1=8B=D0=B5=20=D1=87=D0=B8?= =?UTF-8?q?=D1=81=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project.cpp b/project.cpp index f187a6c..5efff48 100644 --- a/project.cpp +++ b/project.cpp @@ -8,7 +8,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' << "A - B = " << a - b << '\n'