blob: 628557dab033521413558ed5d01cba8d95a65f47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#include <iostream>
#include "sales_data.hpp"
#include "sales_item.hpp"
/*
*
* 3.5
*
*
*/
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 DD;
while(cin >> DD) {
full += DD;
full_sep += DD + ' ';
}
cout << full << endl;
cout << full_sep << endl;
return 0;
}
|