Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main () {
- int n;
- scanf("%d", &n);
- if(n >= 86)
- printf("A");
- else if(n >= 61)
- printf("B");
- else if(n >= 36)
- printf("C");
- else if(n >= 1)
- printf("D");
- else
- printf("E");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement