新人问题多多指教
#include"stdio.h"main()
{
char diamond[][9]=
{
{'/','-','-','\','/','-','-','\'},
{'\','','','','','','','/'},
{'','\','','','','','/',''},
{'','','\','','','/','',''},
{'','','','\','/','','',''}
};
int i,j;
for(i=0;i<5;i++)
{
for(j=0;j<8;j++)
printf("%c",diamond[i][j]);
printf("\n");
}
}
请问这个我哪里编错了