main()
{
char g[26] = { 'A', 'B', 'C', 'D', 'E', 'F', 'G' };
int a, b, c, d, e, f, h = 0;
do
{
printf("输入0+回车结束");
b = 0, f = a;
printf("\n ");
do
{
b += 1;
c = b % 7;
printf(" %c ", g[c]);
if (8 <= b && b % 8 == 0)
printf("\n ");
}
while (0 < 56 - b);
}
while (getchar() != '0');
}