Posts

Showing posts with the label alphabet pattern of j

how to code of Alphabet L pattern

Image
CODE: #include<stdio.h> #include<conio.h> #include<stdlib.h> int main() { int i,j,k; system("color 0a"); for(i=0;i<=11;i++) { for(j=0;j<2;j++) { printf("*"); } for(k=1;k<=5;k++)     {     if(i>9&&i<=11)     {     printf("**");     }      else{       printf("  ");//one space } } printf("\n"); } getche(); }

make H alphabet with stars in c

Image
code:                                                            FREE for 1 mounth ⇑ #include<stdio.h> #include<conio.h> #include<stdlib.h> int main() { int i,j,k; system("color 0d"); for(i=0;i<=11;i++) { for(j=0;j<2;j++) { printf("*"); } for(k=1;k<5;k++)         {       if(i>4&&i<7)       {       printf("**");   }   else   {   printf("  ");//two spaces   }           }   for(j=4;j<6;j++)       { printf("*");     }            printf("\n"); } getche(); }