program to print the vowels in a given sentance of length <=200 in java code example
Example: java program to print vowels in a string
String str = "hello";
String vowels = "aeiou";
for(char c : str) if(vowels.contains(c)) System.out.print(c + "");