Code of V alphabet pattern in c language

Code:
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>

int main()
{
int i,j,k,l;
system("color fc");
for(i=0;i<=11;i++)
{
for(j=1;j<=i;j++)
{
printf(" ");
}
for(l=0;l<=2;l++)
       {
        printf("*");
}
for(k=10;k>=i;k--)
    {
    printf("  ");//two space
}
     for(l=0;l<=2;l++)
     {
      printf("*");
}
printf("\n");
}
getche();
}


1-copy this code and paste on your dev++
2-then press F11

Popular posts from this blog

code of Alphabet K pattern

Happy New Year 2021 Wishes

5 Ways to Earn from LinkedIn