From be4ab8bade36d2dc9278c8e46684de74979fb3f6 Mon Sep 17 00:00:00 2001 From: pwjku6f2y <1915106350@qq.com> Date: Tue, 15 Feb 2022 14:52:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E5=87=BA=E8=8F=B1=E5=BD=A2=E5=9B=BE?= =?UTF-8?q?=E5=BD=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 输出菱形图形.c | 51 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 输出菱形图形.c 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