Documente Academic
Documente Profesional
Documente Cultură
973 pbinfo
Rezolvare
#include <bits/stdc++.h> //inlocuieste toate bibliotecile
using namespace std;
char s[205],a[256][256],*p;
int nra,k;
int main()
{
cin.getline(s,256);///citim sirul
p=strtok(s, " ");
while(p)
{
k=0;
for( int i=0; i<strlen(p); i++)
if(strchr("aeiou",p[i]))
k++;
if(strlen(p)==k)
cout<<p<<endl;
p=strtok(NULL," ");
}
}