Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstring>
- using namespace std;
- char a[105],x[250];
- int main()
- {
- int i,c=0,t=0;
- cin.getline(a,105);
- for(i=0;i<strlen(a);i++)
- {
- if(strchr("aeiouAEIOU",a[i])!=0)
- {
- c++;
- x[t]=a[i];
- t++;
- x[t]='*';
- t++;
- }
- else
- {
- x[t]=a[i];
- t++;
- }
- }
- if(c!=0)
- {
- cout<<x;
- }
- else
- {
- cout<<"FARA VOCALE";
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement