summaryrefslogtreecommitdiff
path: root/PlaygroundCpp/Sources/Playground.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'PlaygroundCpp/Sources/Playground.cpp')
-rw-r--r--PlaygroundCpp/Sources/Playground.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/PlaygroundCpp/Sources/Playground.cpp b/PlaygroundCpp/Sources/Playground.cpp
new file mode 100644
index 0000000..37b59f9
--- /dev/null
+++ b/PlaygroundCpp/Sources/Playground.cpp
@@ -0,0 +1,13 @@
+#include <iostream>
+
+int add(int a, int b) {
+ return a + b;
+}
+int main() {
+ int a = 0;
+ int b = 0;
+ std::cin >> a;
+ std::cin >> b;
+ std::cout << add(a, b);
+ return 0;
+}