summaryrefslogtreecommitdiff
path: root/3p5.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3p5.cpp')
-rw-r--r--3p5.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/3p5.cpp b/3p5.cpp
new file mode 100644
index 0000000..7f1be44
--- /dev/null
+++ b/3p5.cpp
@@ -0,0 +1,32 @@
+#include <iostream>
+#include "sales_data.hpp"
+#include "sales_item.hpp"
+
+/*
+ *
+ * Description
+ *
+ *
+ */
+
+using std::string;
+using std::cout;
+using std::cin;
+using std::cerr;
+using std::clog;
+using std::endl;
+int main () {
+
+ string full;
+ string full_sep;
+ //string whitespace(" ");
+ string DD;
+ while(cin >> DD) {
+ full += DD;
+ full_sep += DD + ' ';
+ }
+ cout << full << endl;
+ cout << full_sep << endl;
+
+ return 0;
+}