From d18c7818124f647182544c9c69ec770944331a2d Mon Sep 17 00:00:00 2001 From: VasilyevaKS Date: Sun, 25 May 2025 22:26:40 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20a=20=D0=B8=20b?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 main.cpp diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..1509b7e --- /dev/null +++ b/main.cpp @@ -0,0 +1,18 @@ +#include +#include +#include +#include + +using namespace std; + +int main() { + cout << "Enter A and B: "; + int a, b; + cin >> a >> b; + cout << "A + B = " << a + b << '\n'; + cout << "A - B = " << a - b << '\n'; + + return 0; +} + +