From caf4b7024e71470acefc6adb60464401be45620f Mon Sep 17 00:00:00 2001 From: "Alice(MiachinPE)" Date: Mon, 24 Mar 2025 17:04:32 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BA=D0=BE=D0=B4=20=D1=81=20=D1=82=D0=B8?= =?UTF-8?q?=D0=BF=D0=BE=D0=BC=20=D1=87=D0=B8=D1=81=D0=B5=D0=BB=20double=20?= =?UTF-8?q?=D0=BE=D1=82=20=D0=B0=D0=BB=D0=B8=D1=81=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 4c4f10d..28c4e93 100644 --- a/main.cpp +++ b/main.cpp @@ -5,7 +5,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'