/*------------------------------------------------------- 功能:打印出如下图案(菱形) * *** ***** ******* ***** *** * -------------------------------------------------------*/ #include "stdio.h" main() { int i,j,k; for(i=0;________________;i++) { for(j=0;j<=4-i;j++) printf(" "); for(k=1;k<=________________;k++) printf("*"); printf("\n"); } for(________________;j<3;j++) { for(k=0;k <=4-i;k++) printf(" "); for(k=0;k<5-2*j;k++) printf("*"); printf("\n"); } }