27.(C) Finding Vowel
#include<stdio.h>
int main(){
char c;
scanf("%c",&c);
if(c=='A'|| c=='a'||c=='E'||c=='e'||c=='I'|| c=='i'||
c=='O'||c=='o'||c=='U'|| c=='u')
{
printf("Vowel\n");
}
else{
printf("not Vowel\n");
}
return 0;
}
Comments
Post a Comment