#include<stdio.h>
int main()
{
char c;
int isupper, islower;//声名大小写字母
printf(" 请输入一个大写或小写字母:");
scanf("%c",&c);
islower = (c == 'a'||c =='e'|| c =='i'|| c =='o'||c == 'u');
isupper = (c == 'A'|| c == 'E'|| c == 'I'|| c == 'O'|| c == 'U');
if (islower || isupper)
printf("该字母是元音字母");
else
printf("该字母不是元音字母");
return 0;
}
08-06
2271
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-05
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交