#include
#include
void main() { float s; char a[20]; int ss;
scanf("%f",&s); ss=s; ss/=20;
switch ( ss ) {
case 0:
case 1:
case 2: strcpy(a,"不及格"); break;
case 3: strcpy(a,"及格"); break;
case 4: strcpy(a,"良好"); break;
case 5: strcpy(a,"优秀"); break;
}
printf("%.1f成绩%s\n",s,a);
}
什么编程语言?c?vb?