Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* BISMILLAHIR-RAHMANIR-RAHIM
- ____________________________________
- | |
- | SHANTO_SUST_SWE-19_029 |
- |____________________________________|
- */
- #include <stdio.h>
- #include <string.h>
- #include <math.h>
- #include <stdlib.h>
- #include <time.h>
- #define debug 1
- int i; char ch = '@';
- void printSpace() {i = 3; while(i--) printf(" ");}
- void h1() {i = 2; while(i--) printf("%c", ch); i = 2; while(i--) printf(" "); i = 2; while(i--) printf("%c", ch); printSpace();}
- void h2() {h1();}
- void h3() {i = 6; while(i--) printf("%c", ch); printSpace();}
- void h4() {h3();}
- void h5() {h1();}
- void h6() {h1();}
- void a1() {printf(" "); i = 4; while(i--) printf("%c", ch); printf(" "); printSpace();}
- void a2() {i = 2; while(i--) printf("%c", ch); printf(" "); i = 2; while(i--) printf("%c", ch); printSpace();}
- void a3() {a2();}
- void a4() {h3();}
- void a5() {a2();}
- void a6() {a2();}
- void p1() {a1();}
- void p2() {h1();}
- void p3() {h1();}
- void p4() {i = 5; while(i--) printf("%c", ch); printf(" "); printSpace();}
- void p5() {i = 2; while(i--) printf("%c", ch); i = 4; while(i--) printf(" "); printSpace();}
- void p6() {p5();}
- void Y1() {h1();}
- void y2() {h1();}
- void y3() {h1();}
- void y4() {printf(" "); i = 4; while(i--) printf("%c", ch); printf(" "); printSpace();}
- void y5() {printf(" "); i = 2; while(i--) printf("%c", ch); printf(" "); printSpace();}
- void y6() {y5();}
- void b1() {i = 5; while(i--) printf("%c", ch); printf(" "); printSpace();}
- void b2() {h1();}
- void b3() {p4();}
- void b4() {p4();}
- void b5() {h1();}
- void b6() {b1();}
- void i1() {h3();}
- void i2() {y5();}
- void i3() {y5();}
- void i4() {y5();}
- void i5() {y5();}
- void i6() {h3();}
- void r1() {p4();}
- void r2() {h1();}
- void r3() {h3();}
- void r4() {i = 4; while(i--) printf("%c", ch); printf(" "); printSpace();}
- void r5() {i = 2; while(i--) printf("%c", ch); printf(" "); i = 2; while(i--) printf("%c", ch); printf(" "); printSpace();}
- void r6() {h1();}
- void t1() {h3();}
- void t2() {y5();}
- void t3() {y5();}
- void t4() {y5();}
- void t5() {y5();}
- void t6() {y5();}
- void d1() {p4();}
- void d2() {h1();}
- void d3() {h1();}
- void d4() {h1();}
- void d5() {h1();}
- void d6() {p4();}
- void o1() {a1();}
- void o2() {h1();}
- void o3() {h1();}
- void o4() {h1();}
- void o5() {h1();}
- void o6() {a1();}
- void u1() {h1();}
- void u2() {h1();}
- void u3() {h1();}
- void u4() {h1();}
- void u5() {h1();}
- void u6() {a1();}
- void HAPPY()
- {
- h1();a1();p1();p1();Y1();printf("\n");
- h2();a2();p2();p2();y2();printf("\n");
- h3();a3();p3();p3();y3();printf("\n");
- h4();a4();p4();p4();y4();printf("\n");
- h5();a5();p5();p5();y5();printf("\n");
- h6();a6();p6();p6();y6();printf("\n");
- }
- void BIRTHDAY()
- {
- b1();i1();r1();t1();h1();d1();a1();Y1();printf("\n");
- b2();i2();r2();t2();h2();d2();a2();y2();printf("\n");
- b3();i3();r3();t3();h3();d3();a3();y3();printf("\n");
- b4();i4();r4();t4();h4();d4();a4();y4();printf("\n");
- b5();i5();r5();t5();h5();d5();a5();y5();printf("\n");
- b6();i6();r6();t6();h6();d6();a6();y6();printf("\n");
- }
- void TO_YOU()
- {
- t1();o1(); i = 9; while(i--) printf(" "); Y1();o1();u1();printf("\n");
- t2();o2(); i = 9; while(i--) printf(" "); y2();o2();u2();printf("\n");
- t3();o3(); i = 9; while(i--) printf(" "); y3();o3();u3();printf("\n");
- t4();o4(); i = 9; while(i--) printf(" "); y4();o4();u4();printf("\n");
- t5();o5(); i = 9; while(i--) printf(" "); y5();o5();u5();printf("\n");
- t6();o6(); i = 9; while(i--) printf(" "); y6();o6();u6();printf("\n");
- }
- int main()
- {
- HAPPY(); printf("\n\n");
- BIRTHDAY(); printf("\n\n");
- TO_YOU(); printf("\n\n");
- return 0;
- }
- //ALHAMDULILLAH
Advertisement
Add Comment
Please, Sign In to add comment