Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<string.h>
- int main(){
- int i,l,c,d,n=0,j;
- char x[100];
- gets(x);
- l=strlen(x);
- j=l-1;
- c=0;
- for(i=0;i<l;i++){
- if(x[i]=='t'){
- c=i;
- c++;
- break;
- }
- }
- for(j=i;j<l;j++){
- if(x[j]=='a'||x[j]=='e'||x[j]=='i'||x[j]=='o'||x[j]=='u'){
- n++;
- }
- }
- printf("%d",n);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement