题解 | #判断是元音还是辅音#
判断是元音还是辅音
https://www.nowcoder.com/practice/7eb4df4d52c44d309081509cf52ecbc4
#include <stdio.h> int main() { char n; while(scanf("%c",&n)!=EOF) { getchar(); if(n=='a'||n=='A'||n=='e'||n=='E'||n=='i'||n=='I'||n=='O'||n=='o'||n=='U'||n=='u') printf("Vowel\n"); else printf("Consonant\n"); } return 0; }