Vokal oder Konsonant in Java verwenden, wenn sonst
public class Main{public static void main(String[] args) {char ch = 'e';if(ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u' )System.out.println(ch + " is a vowel");elseSystem.out.println(ch + " is a consonant");}}
Helpless Hawk