题解 | #判断是元音还是辅音#
判断是元音还是辅音
https://www.nowcoder.com/practice/7eb4df4d52c44d309081509cf52ecbc4
自找麻烦233
#include<stdio.h> int main() { char input = 0; while((input=getchar()) != EOF ) { getchar(); switch(input) { case 65: case 97: case 69: case 101: case 73: case 105: case 79: case 111: case 85: case 117: printf("Vowel\n"); break; default: printf("Consonant\n"); break; } } return 0; }