求助不清楚程序哪里错误
本想用程序画个爱心桃的,现在不知道错哪里,有没有大神教教我哪里错了程序代码:
#include<stdio.h> int main() { char diamond[11][15]={{'','','*','*','*','','','','','','*','*','*','',''},{'','*','','','','*', '','','','*','','','*', '*',''},{'*','','','','','','*','','','*','','','','','','','*'},{'*','','','','','','','*','*','','','','','','','','*'},{'*','','','','','*','','*','','','','','','','','','*'},{'','*','','','','','*','','*','','','','','','','*',''},{'','','*','','','','','*','','*','','','','','*','',''},{'','','','*','','','','','*','','*','','','*','','',''},{'','','','','*','','','*','','*','','','*','','','',''},{'','','','','','*','*','','','*','','*','','','','',''}, {'','','','','','','*','','','','*','','','','','',''}}; int i,j; for(i=0;i<11;i++) { for(j=0;j<15;j++) printf("%c",diamond[i][j]); } return 0; }
[此贴子已经被作者于2016-11-23 22:11编辑过]