Answer :
Answer:
Answered below
Explanation:
public class CountVowels{
public static void main (String[] args){
Scanner in = new Scanner(System.in);
String words = in.nextline();
String vowels = "aeiouAEIOU";
int count = 0;
for( int i =0; I< words.length-1; I++){
for( int j = 0; j < vowels.length - 1; j++){
if(words [I] == vowels[j]){
count++;
}
}
}
System.out.print(count);
}
}