Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main(){
- std::string word, words;
- while(std::cin >> word){
- words += word;
- words += " ";
- }
- std::cout << words << std::endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement