mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
Create 1358.cpp
This commit is contained in:
parent
6ed29af4f8
commit
921f9277ba
21
QUSTOJ/1358.cpp
Normal file
21
QUSTOJ/1358.cpp
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user