From 140a782df0214597e236ae21aba39c370677b027 Mon Sep 17 00:00:00 2001 From: "Alice(GavrilenkoMA)" Date: Sun, 6 Apr 2025 14:51:14 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D1=82=D0=B8=D0=BF=20=D1=87=D0=B8=D1=81?= =?UTF-8?q?=D0=B5=D0=BB=20a,b=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=20=D1=81=20=D1=86=D0=B5=D0=BB=D0=BE=D0=B3=D0=BE=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=B9?= 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 94ebba3..c4657f1 100644 --- a/main.cpp +++ b/main.cpp @@ -5,7 +5,7 @@ using namespace std; int main() { cout << "Enter A and B" << endl; - int a,b; + double a,b; cin >> a >> b; cout << "A + B = " << a + b << "\n" << "A - B = " << a - b << "\n"