From e030c9ee7d9a26760dfccc6982b5c9674708bdd5 Mon Sep 17 00:00:00 2001 From: "Alice (KhorovodnikovaAA)" Date: Thu, 3 Apr 2025 00:04:49 +0300 Subject: [PATCH] =?UTF-8?q?code:=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D1=82=D0=B8=D0=BF=D0=B0=20=D0=BD=D0=B0=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 904b8cb..5c73d41 100644 --- a/main.cpp +++ b/main.cpp @@ -4,7 +4,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'<<"a*b= "<