From 427b5c7b54f907d87306227f9cba77b078ff7953 Mon Sep 17 00:00:00 2001 From: "Alice (BezhenarAN)" Date: Tue, 26 Mar 2024 21:15:42 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D1=82=D0=B8=D0=BF=20=D0=B4=D0=B0=D0=BD?= =?UTF-8?q?=D0=BD=D1=8B=D1=85=20double?= 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 ed4bb3b..e71647a 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'