wap to print following pattern??
ABCDEFGFEDCBA
ABCDEF FEDCBA
ABCDE EDCBA
ABCD DCBA
ABC CBA
AB BA
A A
the pattern is not showin up proper,,but hope u guys get it..
its kinda /\ shape formation b/w those letters
this is wat i tried out.....
int i,j....;
int m=65;
for(i=1;i<=7;i++)
{
printf("%c",m);
m++;
}
printf("\n");
m=65;
for(j=1;j<=6;j++)
{
printf("%c",m);
m++;
}
........moving on like this...
i cld only get a pattern
ABCDEFG
ABCDEF
ABCDE
ABCD
ABC
AB
A
i know thers a lot easier and a shorter way to do this,,,,but jss not gettin it,,,
need help...to clear up those doubts on patterns like these