From 5ebc3f0ca4bbf551dbeec828c3ffb2dd080077b4 Mon Sep 17 00:00:00 2001 From: nashokota Date: Sat, 20 Sep 2025 23:43:44 +0600 Subject: [PATCH 1/2] Feature 1 --- New Folder/class.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 New Folder/class.cpp diff --git a/New Folder/class.cpp b/New Folder/class.cpp new file mode 100644 index 0000000..26fcc17 --- /dev/null +++ b/New Folder/class.cpp @@ -0,0 +1,11 @@ +#include +using namespace std; + + + +int main() +{ + cout << "Hello, World!" << endl; + cout << "feature one" << endl; + return 0; +} \ No newline at end of file From 644137a1b1f14c909dd3e43a666cc1a269e73a8c Mon Sep 17 00:00:00 2001 From: nashokota Date: Sat, 20 Sep 2025 23:47:58 +0600 Subject: [PATCH 2/2] Calculator Feature --- New Folder/calculator.cpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 New Folder/calculator.cpp diff --git a/New Folder/calculator.cpp b/New Folder/calculator.cpp new file mode 100644 index 0000000..de3baa4 --- /dev/null +++ b/New Folder/calculator.cpp @@ -0,0 +1,31 @@ +#include +using namespace std; + +int add(int a, int b) +{ + return a + b; +} + +int subtract(int a, int b) +{ + return a - b; +} +int multiply(int a, int b) +{ + return a * b; +} +int divide(int a, int b) +{ + return a / b; +} + +int main() +{ + int a, b; + cin >> a >> b; + cout << add(a,b) << endl; + cout << subtract(a,b) << endl; + cout << multiply(a,b) << endl; + cout << divide(a,b) << endl; + return 0; +} \ No newline at end of file