From ee038b45dd0e9384a03c1b4cb523aa346b368ed6 Mon Sep 17 00:00:00 2001 From: "Alice (BaranovEK)" Date: Mon, 1 Apr 2024 17:18:45 +0300 Subject: [PATCH] =?UTF-8?q?=D1=86=D0=B5=D0=BB=D1=8B=D0=B5=20=D0=BD=D0=B0?= =?UTF-8?q?=20=D0=B4=D0=B5=D0=B9=D1=81=D1=82=D0=B2=D0=B8=D1=82=D0=B5=D0=BB?= =?UTF-8?q?=D1=8C=D0=BD=D1=8B=D0=B5?= 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 c9771fd..fe34413 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'