code of R alphabet pattern in c language


code:

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

int main()
{
int i,j,k,count=11;
system("color F5");
for(i=0;i<=11;i++)
{
for(j=0;j<=2;j++)
{
printf("*");
}
for(k=1;k<=5;k++)
{
if(i>=0&&i<2||i>4&&i<7||i>=2&&i<=4&&k==5||i>=7&&i<11&&k==count)
{
printf("**");
}
else
{
printf("  ");
}
}
if(i>=7)
{
count++;
}
else if(count>6)
{
count=2;
}
printf("\n");
}
getche();
}

code of R alphabet pattern in c, an alphabet pattern in c, all alphabet pattern in c,awc service, source code of R alphabet pattern in c language,