Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdio>
- #include <string>
- #include <cstring>
- using namespace std;
- int main() {
- char c;
- while(cin>>c){
- c=tolower(c);
- if ((c!='a')&&(c!='e')&&(c!='i')&&(c!='o')&&(c!='u')&&(c!='y'))
- printf(".%c",c);
- }
- printf("\n");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment