From 2df285a34079f2b5b8532aaf38b91d4c0a502cf3 Mon Sep 17 00:00:00 2001 From: "Alice (ChaginSA)" Date: Sat, 22 Apr 2023 20:03:49 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=9D=D0=BE=D0=B2=D1=8B=D0=B9=20=D1=82?= =?UTF-8?q?=D0=B8=D0=BF?= 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 822000f..37c1ba0 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'