Are we supposed to input the words, or just read them in a file? If so then see ifstream. You can then store each word in a vector for example then for each word in the vector make a loop in the string to check if the letter is a vowel, and then display it or just increment a variable. Hope this helps.
The code below seems to work well for this, although it could probably be cut back a little. The code takes a string (You must include the string library to use the string variable type) and defines an integer for the current number of vowels in the word, it then runs a loop through the entire sentence and increments currCount each type a vowel occurs. If there is a space or full stop the word has ended so the number of vowels in the word is output and reset. Hope this helps.