是元音字母吗
Description
输入一个英文字母,判断是否是元音字母。元音字母是:a,e,i,o u,A,E,I,O,U
Input
输入一个英文字母
Output
是元音字母,输出“yes”,否则输出“no”,行尾没有回车。
Sample Input
A
Sample Output
yes
HINT
Append Code
代码:
#include<stdio.h>
int main(){
char x;
scanf("%c",&x);
if(x=='a'||x=='e'||x=='i'||x=='o'||x=='u'||x=='A'
||x=='E'||x=='I'||x=='O'||x=='U')
printf("yes");
else
printf("no");
}