首页 > 其他 > 详细

Codeforces 118A

时间:2019-11-06 10:29:50      阅读:56      评论:0      收藏:0      [点我收藏+]
#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;
}

  

Codeforces 118A

原文:https://www.cnblogs.com/commario/p/11803471.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!