#include<stdio.h> int main(void) { char ch; printf("Input Grade: "); ch=getchar(); switch(ch){ case 'A': printf("%c 90-100 ",ch); break; case 'B': printf("%c 80-89 ",ch); break; case 'C': printf("%c 70-79 ",ch); break; case 'D': printf("%c 60-69 ",ch); break; case 'E': printf("%c 0-59 ",ch); break; default: printf("Invalid input "); } return 0; }