Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main(){
- char x;
- int i,c=0;
- for(i=1;i<=5;i++){
- scanf(" %c",&x);
- if(x=='A'||x=='E'||x=='I'||x=='O'||x=='U'||x=='a'||x=='e'||x=='i'||x=='o'||x=='u'){
- c++;
- }
- }
- printf("Number of vowel is %d",c);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement