Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- string removeVowel(string);
- int main()
- {
- string word;
- do
- {
- cin>>word;
- removeVowel(word);
- }
- while(word!="*****");
- return 0;
- }
- string removeVowel(string word)
- {
- char a="a";
- char e="e";
- char i="i"
- char o="o";
- char u="u";
- char y="y";
- string finalWord;
- finalWord="";
- for(int i=0;i<word.length();i++)
- {
- if
- }
- return finalWord;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement