Create 1358.cpp

pull/15/head
KiritoTRw 2016-05-22 23:01:01 +08:00
parent 6ed29af4f8
commit 921f9277ba
1 changed files with 21 additions and 0 deletions

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;
}