Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. int main(){
  4. std::string word, words;
  5.  
  6. while(std::cin >> word){
  7. words += word;
  8. words += " ";
  9. }
  10.  
  11. std::cout << words << std::endl;
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement