标签:clu return type mes end ace cin out names
#include <iostream>
#include <cctype>
#include <string>
using namespace std;
int main()
{
string str;
cin>>str;
int length;
length=str.size();
for(int i=0; i<length; ++i)
{
str[i]=tolower(str[i]);
if((str[i]!=‘a‘)&&(str[i]!=‘e‘)&&(str[i]!=‘i‘)&&(str[i]!=‘o‘)&&(str[i]!=‘u‘)&&(str[i]!=‘y‘))
cout<<‘.‘<<str[i];
}
cout<<endl;
return 0;
}
标签:clu return type mes end ace cin out names
原文地址:https://www.cnblogs.com/ozxics/p/10640457.html