#include int main(int argc, char **argv){ char grade = 'F'; if (argc > 1) grade = argv[1][0] ; printf("You entered grade %c\n\n", grade); switch( grade ){ case 'A': case 'a': printf("Excellent\n"); break; case 'B': case 'b': printf("Good\n"); break; case 'C': case 'c': printf("Fair\n"); break; default: printf("Fail\n"); } return 0; }