Untitled

mail@pastecode.io avatar
unknown
c_cpp
a year ago
524 B
1
Indexable
Never
#include <iostream>
#include <vector>
#include <string>

using namespace std;

int main()
{

    string s;
    cin >> s;
    
    for (auto c : s)
    {
        if (c == 'a' || c == 'o' || c == 'u' || c == 'y' || c == 'i' || c == 'e' || c == 'A' || c == 'O' || c == 'U' || c == 'Y' || c == 'I' || c == 'E') {
            continue;
        }
        
        cout << ".";

        if (c >= 65 || c <= 65 + 25) {
            cout << c + 32;
        }
        cout << c ;
    }

    return 0;
}
//32