c语言 打出一个菱形#include void main (){char a[i][j]={{" "," ","Ο"},{" ","Ο"," "," Ο",},{"Ο"," ","","","Ο"},{" ","Ο"," "," Ο",},{" "," ","Ο"}};for (i=0,i

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 03:26:16

c语言 打出一个菱形#include void main (){char a[i][j]={{" "," ","Ο"},{" ","Ο"," "," Ο",},{"Ο"," ","","","Ο"},{" ","Ο"," "," Ο",},{" "," ","Ο"}};for (i=0,i
c语言 打出一个菱形
#include
void main ()
{char a[i][j]={{" "," ","Ο"},{" ","Ο"," "," Ο",},{"Ο"," ","","","Ο"},{" ","Ο"," "," Ο",},{" "," ","Ο"}};
for (i=0,i

c语言 打出一个菱形#include void main (){char a[i][j]={{" "," ","Ο"},{" ","Ο"," "," Ο",},{"Ο"," ","","","Ο"},{" ","Ο"," "," Ο",},{" "," ","Ο"}};for (i=0,i
错好多了,你是不是刚学啊,各种错,不过没关系,刚开始都这样的.你的我看不太懂,我这里有一个,给你选择性参考.
#include"stdio.h"
int main()
{
int i,j;
for(i=-3;i