fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int score;
  6. printf("input score:");
  7. scanf("%d",&score);
  8. if(90<=score<=100) printf("A");
  9. else if(80<=score<90) printf("B");
  10. else if(70<=score<80) printf("C");
  11. else if(60<=score<70) printf("D");
  12. else if(0<=score<60) printf("E");
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5320KB
stdin
65
stdout
input score:A