alien_fx_fiend

CowSay-loop

Apr 29th, 2021 (edited)
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.38 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     while (1) {
  8.         string str;
  9.         getline(cin, str);
  10.         cout << "< " << str << " >" << endl;
  11.         cout << "  \\ ^__^" << endl;
  12.         cout << "    (oo)\\_______" << endl;
  13.         cout << "    (__)\\       )\\/\\" << endl;
  14.         cout << "        ||----w |" << endl;
  15.         cout << "        ||     ||" << endl;
  16.     }
  17.     return (0);
  18. }
Add Comment
Please, Sign In to add comment