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