Untitled
unknown
c_cpp
2 years ago
516 B
6
Indexable
#include <iostream>
#include <vector>
#include <string>
using namespace std;
int main()
{
vector <char> a;
for (int i = 0; i < n; i += 1) {
cin >> a[i];
if (a[i] == 'A' || a[i] == 'O' || a[i] == 'Y' || a[i] == 'E' || a[i] == 'U' || a[i] == 'I') {
a[i] = ' ';
}
if (a[i] >= 65 || a[i] <= 65 + 26) {
a[i] -= 32;
}
}
for (int i = 0; i < size(a); i++) {
cout << "." << a[i];
}
return 0;
}
//32Editor is loading...