/*
*号图案打印练习二
*
***
*****
*******
*****
***
*
*/
main()
{
int i=-1;
while(++i<7)printf("\n%*s",10+(i<4?i:6-i),"********"+((7-i*2)<0?-(5-i*2):(7-i*2)));
}
kaikai:
int f(int _){return printf("%*s",4+_,"*******\n"+(4-_<<1));}int main(int _){return f(_)&&_<4&&main(_+1)&&f(_),_<5;}
knocker再回贴: