Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- char ch1[101];
- int l,i,j,x=1;
- scanf("%s",ch1);
- strlwr(ch1);
- l=strlen(ch1);
- for(i=0;i<l;i++)
- {
- if(ch1[i]!='a'&&ch1[i]!='e'&&ch1[i]!='i'&&ch1[i]!='o'&&ch1[i]!='u'&&ch1[i]!='y')
- {
- printf(".%c",ch1[i]);
- }
- }
- printf("\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment