#include<stdio.h> int main() { int s; scanf("%d",&s); //printf("This is a score"); if("s<60") { printf("E\n"); } else if("s>=60&&s<=70") { printf("D\n"); } else if("s>=70&&s<=80") { printf("C"); } else if("s>=80&&s<=90") { printf("B"); } else if("90<=s") { printf("A"); } }
c语言小白来了