diff --git a/输出菱形图形.c b/输出菱形图形.c new file mode 100644 index 0000000..7b78d74 --- /dev/null +++ b/输出菱形图形.c @@ -0,0 +1,51 @@ +#include +void diamond(int a) +{ + int b,c,d,t; + d=0; + t=a;//����ʼ�����ݸ�t + while(a--)//�ո������ݼ� + { + for(b=0; b