#define abs(i) i>0?i:-i #include<stdio.h> int main(void) { int i,j; for(i=3;i>=-3;putchar('\n'),--i) for(j=-3;j<=3;++j) if(0<=(abs(i))+(abs(j))&&(abs(i))+(abs(j))<=3) putchar('*'); else putchar(' '); return 0; }