Advertisement
alien_fx_fiend

cowsay /w input condensed

Jul 19th, 2020
1,189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <cstring>
  3.  
  4. int main()
  5. {
  6. char text[800];
  7. fgets(text, 800, stdin);
  8. text[strlen(text) - 1] = '\0'; //=0;
  9. printf("< %s >\n", text);
  10.   printf("  \\ ^__^\n");
  11.   printf("    (oo)\\_______\n");
  12.   printf("    (__)\\       )\\/\\\n");
  13.   printf("        ||----w |\n");
  14.   printf("        ||     ||\n");
  15.   return (0);
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement