ll!”;如果输入‘C’,输出评语“Youarepassing!”;如果输入‘D’,输出评语“Youarenotpassing!”。如果输入的不是这四个字母,则出现提示“Inputerror!”请编写一个程序,实现该判断功能。要求必须使用switch-case结构实现。#include<stdio.h>voidmain(){?chargrade;?printf("Pleaseinputagrade:");?scanf("%c",&grade);?switch(grade)?{?case'A':printf("YouareExcellent!\n");break;?case'B':printf("Youarewell!\n");break;?case'C':printf("Youarepassing!\n");break;?case'D':printf("Youarenotpassing!\n");break;?default:printf("Inputerror!\n");?}}211输入一个整数,判断该数是奇数还是偶数。要求必须使用if-else结构实现。#include<stdio.h>voidmain(){?intx;?printf("Pleaseinputanumber:");?scanf("%d",&x);?if(x%2==0) printf("oushu\n");?elseprintf("jishu\n");}247从键盘接收三个整数,分别存放在变量a,b,c中,编程求出最小数。XXXXXX#include<stdio.h>voidmain(){?inta,b,c,min;?printf("Pleaseinput3numbers:");?scanf("%d,%d,%d",&a,&b,&c);?if(a<b) min=a;?elsemin=b;?if(min<c)