Untitled
unknown
c_cpp
2 years ago
524 B
10
Indexable
#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;
}
//32Editor is loading...