Monday, December 18, 2017

c

  1. #include <stdio.h>
  2. int main()
  3. {
  4. int a = 10, b = 0, c = 10;
  5. char* str = "TFy!QJu ROo TNn(ROo)SLq SLq ULo+UHs UJq "
  6. "TNn*RPn/QPbEWS_JSWQAIJO^NBELPeHBFHT}TnALVlBL"
  7. "OFAkHFOuFETpHCStHAUFAgcEAelclcn^r^r\\tZvYxXyT|S~Pn SPm "
  8. "SOn TNn ULo0ULo#ULo-WHq!WFs XDt!";
  9. while (a != 0)
  10. {
  11. a = str[b++];
  12. while (a-- > 64)
  13. {
  14. if (++c == 90)
  15. {
  16. c = 10;
  17. putchar('\n');
  18. }
  19. else
  20. {
  21. if (b % 2 == 0)
  22. putchar('!');
  23. else
  24. putchar(' ');
  25. }
  26. }
  27. }
  28. return 0;
  29. }

No comments:

Post a Comment