#include <stdio.h> int main() { char a,Vowel[]="aeiouAEIOU"; int i=0,m; while(~scanf("%s",&a)) { while(Vowel[i]) { if(a==Vowel[i]) {m=1;break;} else m=0; i++; }i=0; if(m==1) printf("Vowel\n"); else printf("Consonant\n"); } return 0; }
#include <stdio.h> int main() { char a,Vowel[]="aeiouAEIOU"; int i=0,m; while(~scanf("%s",&a)) { while(Vowel[i]) { if(a==Vowel[i]) {m=1;break;} else m=0; i++; }i=0; if(m==1) printf("Vowel\n"); else printf("Consonant\n"); } return 0; }