silentkiler029

Happy Birthday (shortened) - version 2.0

Jul 28th, 2020
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 8.91 KB | None | 0 0
  1.  
  2. /*  BISMILLAHIR-RAHMANIR-RAHIM
  3.  ____________________________________
  4. |                                    |
  5. |       SHANTO_SUST_SWE-19_029       |
  6. |____________________________________|
  7. */
  8.  
  9. #include <stdio.h>
  10. #include <string.h>
  11. #include <math.h>
  12. #include <stdlib.h>
  13. #include <time.h>
  14.  
  15. #define debug 1
  16.  
  17. long long i, I; char ch = 219;
  18.  
  19. void printSpace() {i = 3; while(i--) printf(" ");}
  20. void tab() {printf("\t");}
  21.  
  22. void h1() {i = 2; while(i--) printf("%c", ch); i = 2; while(i--) printf(" "); i = 2; while(i--) printf("%c", ch); printSpace();}
  23. void h2() {h1();}
  24. void h3() {i = 6; while(i--) printf("%c", ch); printSpace();}
  25. void h4() {h3();}
  26. void h5() {h1();}
  27. void h6() {h1();}
  28. void a1() {printf(" "); i = 4; while(i--) printf("%c", ch); printf(" "); printSpace();}
  29. void a2() {i = 2; while(i--) printf("%c", ch); printf("  "); i = 2; while(i--) printf("%c", ch); printSpace();}
  30. void a3() {a2();}
  31. void a4() {h3();}
  32. void a5() {a2();}
  33. void a6() {a2();}
  34. void p1() {a1();}
  35. void p2() {h1();}
  36. void p3() {h1();}
  37. void p4() {i = 5; while(i--) printf("%c", ch); printf(" "); printSpace();}
  38. void p5() {i = 2; while(i--) printf("%c", ch); i = 4; while(i--) printf(" "); printSpace();}
  39. void p6() {p5();}
  40. void Y1() {h1();}
  41. void y2() {h1();}
  42. void y3() {h1();}
  43. void y4() {printf(" "); i = 4; while(i--) printf("%c", ch); printf(" "); printSpace();}
  44. void y5() {printf("  "); i = 2; while(i--) printf("%c", ch); printf("  "); printSpace();}
  45. void y6() {y5();}
  46. void b1() {i = 5; while(i--) printf("%c", ch); printf(" "); printSpace();}
  47. void b2() {h1();}
  48. void b3() {p4();}
  49. void b4() {p4();}
  50. void b5() {h1();}
  51. void b6() {b1();}
  52. void i1() {h3();}
  53. void i2() {y5();}
  54. void i3() {y5();}
  55. void i4() {y5();}
  56. void i5() {y5();}
  57. void i6() {h3();}
  58. void r1() {p4();}
  59. void r2() {h1();}
  60. void r3() {h3();}
  61. void r4() {i = 4; while(i--) printf("%c", ch); printf("  "); printSpace();}
  62. void r5() {i = 2; while(i--) printf("%c", ch); printf(" "); i = 2; while(i--) printf("%c", ch); printf(" "); printSpace();}
  63. void r6() {h1();}
  64. void t1() {h3();}
  65. void t2() {y5();}
  66. void t3() {y5();}
  67. void t4() {y5();}
  68. void t5() {y5();}
  69. void t6() {y5();}
  70. void d1() {p4();}
  71. void d2() {h1();}
  72. void d3() {h1();}
  73. void d4() {h1();}
  74. void d5() {h1();}
  75. void d6() {p4();}
  76. void o1() {a1();}
  77. void o2() {h1();}
  78. void o3() {h1();}
  79. void o4() {h1();}
  80. void o5() {h1();}
  81. void o6() {a1();}
  82. void u1() {h1();}
  83. void u2() {h1();}
  84. void u3() {h1();}
  85. void u4() {h1();}
  86. void u5() {h1();}
  87. void u6() {a1();}
  88. void s0() { i = 6;while(i--) printf("%c", ch);printSpace();}
  89. void s1() { printf("%c    %c", ch, ch, ch);printSpace(); }
  90. void s2() { printf("%c     ", ch);printSpace(); }
  91. void s3() { i = 6; while(i--) printf("%c", ch);printSpace(); }
  92. void s4() { i = 5; while(i--) printf(" ");printf("%c", ch);printSpace(); }
  93. void s5() {s1();}
  94. void s6() {s0();}
  95. void n1() { printf("%c", ch); printSpace();printf(" %c", ch); printSpace(); }
  96. void n2() { i = 2; while(i--)printf("%c", ch);printSpace();printf("%c", ch); printSpace(); }
  97. void n3() { printf("%c %c  %c", ch, ch, ch);printSpace(); }
  98. void n4() { printf("%c  %c %c", ch, ch, ch);printSpace(); }
  99. void n5() { printf("%c   %c%c", ch, ch, ch);printSpace(); }
  100. void n6() {n1();}
  101. void J1() {i = 4; while(i--)printf(" "); printf("%c%c", ch, ch);printSpace(); }
  102. void j2() {J1();}
  103. void j3() {J1();}
  104. void j4() {h1();}
  105. void j5() {h1();}
  106. void j6() {h3();}
  107.  
  108. void LOADING()
  109. {
  110.     int t = 0;
  111.     char c1 = '%';
  112.     printf("\n\n\n\n\t\t\t\tLoading...           %3d%c", t, c1);
  113.     system("cls");
  114.     for(i = 0; i < 25; i++) {
  115.         char c = 178;
  116.         t = (i+1) * 4;
  117.         if(i != 24) printf("\n\n\n\n\t\t\t\tLoading...           %3d%c", t, c1);
  118.         else printf("\n\n\n\n\t\t\t\tSuccessfully Loaded  %3d%c", t, c1);
  119.         printf("\n\t\t\t\t");
  120.         for(long long j = 0; j <= i; j++) printf("%c", c);
  121.         I = 50000000; while(I--){}
  122.         if(i != 24) system("cls");
  123.     }
  124.     printf("\n\n");
  125. }
  126. void HAPPY()
  127. {
  128.     I = 200000000;
  129.     tab();tab();tab(); i = 13; while(i--) printf(" "); h1();a1();p1();p1();Y1();printf("\n"); i = I; while(i--) {}
  130.     tab();tab();tab(); i = 13; while(i--) printf(" "); h2();a2();p2();p2();y2();printf("\n"); i = I; while(i--) {}
  131.     tab();tab();tab(); i = 13; while(i--) printf(" "); h3();a3();p3();p3();y3();printf("\n"); i = I; while(i--) {}
  132.     tab();tab();tab(); i = 13; while(i--) printf(" "); h4();a4();p4();p4();y4();printf("\n"); i = I; while(i--) {}
  133.     tab();tab();tab(); i = 13; while(i--) printf(" "); h5();a5();p5();p5();y5();printf("\n"); i = I; while(i--) {}
  134.     tab();tab();tab(); i = 13; while(i--) printf(" "); h6();a6();p6();p6();y6();printf("\n"); i = I; while(i--) {}
  135. }
  136. void BIRTHDAY()
  137. {
  138.     I = 200000000;
  139.     tab();tab();tab();b1();i1();r1();t1();h1();d1();a1();Y1();printf("\n"); i = I; while(i--) {}
  140.     tab();tab();tab();b2();i2();r2();t2();h2();d2();a2();y2();printf("\n"); i = I; while(i--) {}
  141.     tab();tab();tab();b3();i3();r3();t3();h3();d3();a3();y3();printf("\n"); i = I; while(i--) {}
  142.     tab();tab();tab();b4();i4();r4();t4();h4();d4();a4();y4();printf("\n"); i = I; while(i--) {}
  143.     tab();tab();tab();b5();i5();r5();t5();h5();d5();a5();y5();printf("\n"); i = I; while(i--) {}
  144.     tab();tab();tab();b6();i6();r6();t6();h6();d6();a6();y6();printf("\n"); i = I; while(i--) {}
  145. }
  146. void TO_YOU()
  147. {
  148.     I = 200000000;
  149.     tab();tab();tab(); i = 9; while(i--) printf(" "); t1();o1(); i = 9; while(i--) printf(" "); Y1();o1();u1();printf("\n"); i = I; while(i--) {}
  150.     tab();tab();tab(); i = 9; while(i--) printf(" "); t2();o2(); i = 9; while(i--) printf(" "); y2();o2();u2();printf("\n"); i = I; while(i--) {}
  151.     tab();tab();tab(); i = 9; while(i--) printf(" "); t3();o3(); i = 9; while(i--) printf(" "); y3();o3();u3();printf("\n"); i = I; while(i--) {}
  152.     tab();tab();tab(); i = 9; while(i--) printf(" "); t4();o4(); i = 9; while(i--) printf(" "); y4();o4();u4();printf("\n"); i = I; while(i--) {}
  153.     tab();tab();tab(); i = 9; while(i--) printf(" "); t5();o5(); i = 9; while(i--) printf(" "); y5();o5();u5();printf("\n"); i = I; while(i--) {}
  154.     tab();tab();tab(); i = 9; while(i--) printf(" "); t6();o6(); i = 9; while(i--) printf(" "); y6();o6();u6();printf("\n"); i = I; while(i--) {}
  155. }
  156. void SANJANA()
  157. {
  158.     tab();tab();tab(); i = 4; while(i--)printf(" ");s0(); printf("\n"); i = I; while(i--) {}
  159.     tab();tab();tab(); i = 4; while(i--)printf(" ");s1();a1();n1();J1();a1();n1();a1(); printf("\n"); i = I; while(i--) {}
  160.     tab();tab();tab(); i = 4; while(i--)printf(" ");s2();a2();n2();j2();a2();n2();a2(); printf("\n"); i = I; while(i--) {}
  161.     tab();tab();tab(); i = 4; while(i--)printf(" ");s3();a3();n3();j3();a3();n3();a3(); printf("\n"); i = I; while(i--) {}
  162.     tab();tab();tab(); i = 4; while(i--)printf(" ");s4();a4();n4();j4();a4();n4();a4(); printf("\n"); i = I; while(i--) {}
  163.     tab();tab();tab(); i = 4; while(i--)printf(" ");s5();a5();n5();j5();a5();n5();a5(); printf("\n"); i = I; while(i--) {}
  164.     tab();tab();tab(); i = 4; while(i--)printf(" ");s6();a6();n6();j6();a6();n6();a6(); printf("\n"); i = I; while(i--) {}
  165. }
  166. void MANY_MANY_HAPPY_RETURNS_OF_THE_DAY()
  167. {
  168.     i = 110000000; printf("\n\t\t\t\t\t  ");
  169.     printf("M");I = i; while(I--) {} printf("A"); I = i; while(I--) {} printf("N"); I = i; while(I--) {} printf("Y"); I = i; while(I--) {} printf(" "); I = i; while(I--) {}
  170.     printf("M");I = i; while(I--) {} printf("A"); I = i; while(I--) {} printf("N"); I = i; while(I--) {} printf("Y"); I = i; while(I--) {} printf(" "); I = i; while(I--) {}
  171.     printf("H");I = i; while(I--) {} printf("A"); I = i; while(I--) {} printf("P"); I = i; while(I--) {} printf("P"); I = i; while(I--) {} printf("Y"); I = i; while(I--) {} printf(" "); I = i; while(I--) {}
  172.     printf("R");I = i; while(I--) {} printf("E"); I = i; while(I--) {} printf("T"); I = i; while(I--) {} printf("U"); I = i; while(I--) {} printf("R"); I = i; while(I--) {} printf("N"); I = i; while(I--) {} printf("S");I = i; while(I--) {} printf(" ");I = i; while(I--) {}
  173.     printf("O");I = i; while(I--) {} printf("F"); I = i; while(I--) {} printf(" "); I = i; while(I--) {}
  174.     printf("T");I = i; while(I--) {} printf("H"); I = i; while(I--) {} printf("E"); I = i; while(I--) {} printf(" "); I = i; while(I--) {}
  175.     printf("D");I = i; while(I--) {} printf("A"); I = i; while(I--) {} printf("Y"); I = i; while(I--) {} printf("."); I = i; while(I--) {} printf("\n");
  176. }
  177.  
  178. int main()
  179. {
  180.     LOADING();
  181.     I = 1000000000; while(I--) {}
  182.     system("cls");
  183.  
  184.     printf("\n\n"); printf("\n\n");
  185.  
  186.     /*HAPPY();    I = 600000000; while(I--) {} system("cls"); printf("\n\n"); printf("\n\n");
  187.     BIRTHDAY(); I = 600000000; while(I--) {} system("cls"); printf("\n\n"); printf("\n\n");
  188.     TO_YOU();   I = 600000000; while(I--) {} system("cls"); printf("\n\n"); printf("\n\n");
  189.                 I = 600000000; while(I--) {} system("cls"); printf("\n\n"); printf("\n\n");
  190. */
  191.     HAPPY();    printf("\n\n");
  192.     BIRTHDAY(); printf("\n\n");
  193.     SANJANA();
  194.  
  195.     MANY_MANY_HAPPY_RETURNS_OF_THE_DAY();
  196.  
  197.     return 0;
  198. }
  199. //ALHAMDULILLAH
  200.  
Advertisement
Add Comment
Please, Sign In to add comment