[mw_shl_code=c,true]#include <stdio.h> #include <stdlib.h> int main() { int x; scanf("%d",&x); if(x<=100&&x>=0) { if(x>=90) printf("A\n"); else if(x>=80&&x<90) printf("B\n"); else if(x>=70&&x<80) printf("C\n"); else if(x>=60&&x<70) printf("D\n"); else printf("E\n"); } else printf("is not a score\n"); system("pause"); return 0; } [/mw_shl_code] |