📅  最后修改于: 2022-03-11 14:52:21.954000             🧑  作者: Mango
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");}}