switch用法??没有前提条件下!!
要求按照考试成绩的等级打印出来百分制分数段.switch(grade)
{case "A":printf("85~100\n");
case "B":printf("70~84\n");
case "C":printf("60~69\n");
case "D":printf("<60\n");
default:printf("error\n");
}
不知道给出什么语句.在switch前面.
各位帮忙一下..谢谢
2008-03-09 09:58
2008-03-09 10:07
2008-03-09 10:26
2008-03-09 10:50
2008-03-09 10:51
2008-03-09 10:55

2008-03-09 14:37
2008-03-09 14:56

2008-03-10 11:54
2008-03-10 13:32