summaryrefslogtreecommitdiff
path: root/CPP/cpp_book/test2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/cpp_book/test2.cpp')
-rw-r--r--CPP/cpp_book/test2.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/CPP/cpp_book/test2.cpp b/CPP/cpp_book/test2.cpp
new file mode 100644
index 0000000..54ae462
--- /dev/null
+++ b/CPP/cpp_book/test2.cpp
@@ -0,0 +1,14 @@
+#include <iostream>
+#include <string>
+
+int main(void) {
+
+ std::string name;
+ int a, b, c;
+ while (std::cin >> name) {
+ std::cin >> a >> b;
+ std::cout << name << a << b << std::endl;
+ }
+
+ return 0;
+}