Create 1358.cpp

This commit is contained in:
KiritoTRw 2016-05-22 23:01:01 +08:00
parent 6ed29af4f8
commit 921f9277ba

21
QUSTOJ/1358.cpp Normal file
View File

@ -0,0 +1,21 @@
#include <cstdio>
#include <cstring>
#include <cstdlib>
using namespace std;
char buff[1024];
int main()
{
gets(buff);
int l=strlen(buff);
for(int i=0;i<l;i++)
{
if(buff[i]=='a'||buff[i]=='e'||buff[i]=='i'||buff[i]=='o'||buff[i]=='u')
{
printf("%c",buff[i]);
}
}
printf("\n");
return 0;
}