From 79ee1b021595802d13a89ecb4aa79d247be304ad Mon Sep 17 00:00:00 2001 From: "Alice (KuriloVA)" Date: Mon, 31 Mar 2025 16:42:46 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB?= =?UTF-8?q?=D0=B0=20=D1=82=D0=B8=D0=BF=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D0=BD=D1=8B=D1=85=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 e0afbdb..fe9acdf 100644 --- a/main.cpp +++ b/main.cpp @@ -6,7 +6,7 @@ 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' From 37a18e235f4fe417e0fb34852c85be4fd9fa8b45 Mon Sep 17 00:00:00 2001 From: "Alice (KuriloVA)" Date: Mon, 31 Mar 2025 16:58:39 +0300 Subject: [PATCH 2/2] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB?= =?UTF-8?q?=D0=B8=20=D1=82=D0=B8=D0=BF=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC?= =?UTF-8?q?=D0=B5=D0=BD=D0=BD=D1=8B=D1=85=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 fe9acdf..d22346c 100644 --- a/main.cpp +++ b/main.cpp @@ -14,6 +14,6 @@ int main() << "A/B = " << a / b << '\n'; if (ab){cout<<"MAX="<