Program Java do drukowania samogłosek w ciągu
System.out.print("Vowels in the given String are:");
for (int i = 0; i < str.length(); i++) {
if (str.charAt(i) == 'a' || str.charAt(i) == 'e' || str.charAt(i) == 'i' || str.charAt(i) == 'o'
|| str.charAt(i) == 'u') {
System.out.print(" " + str.charAt(i));
}
}
Uptight Unicorn