i been asked to write a program that accepts a word into a string variable, and it has to display the number of the vowels and the number of consonants of the word.
would you help me solve this?
i don't know how to get the words separated (vowels from consontats)
int main ()
char word ;
char vowel, consonat;
cout<<"Please enter a word"<<endl;