Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstring>
- using namespace std;
- bool vocala(char x)
- {
- if(x=='a'|| x=='e' || x=='i' || x=='o' || x=='u')
- return 1;
- return 0;
- }
- int main()
- {
- char s[256];
- int i,n;
- cin.getline(s,256);
- n=strlen(s);
- for(i=0; i<n;i++)
- if(vocala(s[i]))
- s[i]=toupper(s[i]);
- cout<<s;
- return 0;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement