帮忙改改 我真不知道错到哪里了、、
#include<stdio.h>int main()
{
int i,j;
char n;
char a[4][11]={{1,2,3,4,5,6,7,8,9,0,-},{'Q','W','E','R','T','Y','U','I','O','P'},{'A','S','D','F','G','H','J','K','L'},{'Z','X','C','V','B','N','M',','}};
scanf("%s",&n);
for(i=0;i<11;i++)
{
for(j=0;j<11;j++)
{
if(n==a[i][j])
printf("%s %s",a[i-1][j],a[i-1][j+1]);
}
}
return 0;
}