#include void diamond(int a) { int b,c,d,t; d=0; t=a;//将初始数数据给t while(a--)//空格数逐层递减 { for(b=0; b