summaryrefslogtreecommitdiff
path: root/PlaygroundCpp/Sources
diff options
context:
space:
mode:
authorHaidong Ji2018-08-06 18:19:38 -0500
committerHaidong Ji2018-08-06 18:19:38 -0500
commit2d9b3e3e4cd41dc80e4759b07fd18b89477be2cb (patch)
tree9e1d9f7be8d496141ce791ca768c745b8dee3b28 /PlaygroundCpp/Sources
Initial commit.
Diffstat (limited to 'PlaygroundCpp/Sources')
-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;
+}