From 9a97b96e697c020d48217dd086b8b056aecd8565 Mon Sep 17 00:00:00 2001 From: "Alice (NemykinNO)" Date: Sun, 26 Mar 2023 14:24:24 +0300 Subject: [PATCH] =?UTF-8?q?=D0=90=D0=BB=D0=B8=D1=81=D0=B0=20=D1=80=D0=B5?= =?UTF-8?q?=D1=88=D0=B8=D0=BB=D0=B0=20=D0=BF=D0=BE=D0=BC=D0=B5=D0=BD=D1=8F?= =?UTF-8?q?=D1=82=D1=8C=20=D1=82=D0=B8=D0=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- laba02.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laba02.cpp b/laba02.cpp index e6fd0f1..728e1bf 100644 --- a/laba02.cpp +++ b/laba02.cpp @@ -6,7 +6,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'