求!高手指点!为什么输入一个数字不显示呢
#include<stdio.h>int main()
{ int score=0;
scanf("%d",&score);
printf("%d");
switch(score)
{
case1:printf("d");break;
case2:printf("");break;
case3:printf("");break;
case4:printf("c");break;
case5:printf("");break;
case6:printf("b");break;
case7:printf("");break;
case8:printf("a");break;
case9:printf("");break;
case10:printf("s");break;
defauit:printf("请输入一个有效数字");break;
}
return 0;
}