Hi,
Here is the problem that I was given:
Write a program that reads in a collection of strings and displays each string read with the vowels removed. For example, if the data strings are:
hat
dog
kitten
*** (sentinel)
the output would be:
ht
dg
kttn
Write and call a function removeVowel with prototype
string removeVowel (string);
that returns its argument string with the vowels removed.
So far as I can guess, the program should begin as follows, I'm just hung up on removing the vowels:
Code:
.
.
.
for (cin >> words; words != SENTINEL; cin >> words)
{
.
.
.
cout << words << endl;
Any help is appreciative...