c语言编程题:打印出以下图形
# include & ltstdio.h & gt
# include & ltstdlib.h & gt
int?主()
{
int?I,j,k,count = 1;
布尔?isAdd = true
for(I = 1;我& lt8;i++)
{
for(j = 1;j & lt= 8-计数;j++)
{
printf(" ");
}
for(j = 1;j & lt=计数;j++)
{
如果(算吗?& gt3)
{
isAdd = false
}
printf("%d?",j);?
}
for(k = count-1;k & gt0;k -)
{
printf("%d?",k);
}
printf(" \ n ");
if(isAdd)
{
count++;
}否则{
count-;
}
}
系统(“暂停”);
回归?0;
}