From 7080e4474535c62634577fbcfbf99635732a5c98 Mon Sep 17 00:00:00 2001 From: "Alice (KiseliovMI)" Date: Mon, 27 Mar 2023 12:03:26 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=B0=D0=B1=D0=BB?= 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 4dc18bd..2ac828f 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'