Hey, We are going to form this pattern by :
CODE:
#include<stdio.h>
int main(){
int i,s,get=0;
char start='F',end='G',one,two;
for (i=1;i<=7;i++)
{
for (one='A';one<=end;one++)
{
printf("%c",one);
}
for (s=1;s<=get;s++)
{
printf(" ");
}
for (two=start;two>='A';two--)
{
printf("%c",two);
}
printf("\n");
end--;
start=end;
get++;
if (get%2==0)
get++;
}
getchar();
return 0;
}
OUTPUT:
Big Fan As You Know I Have no words How to describe this.
ReplyDelete