Programming Code Center(PCC)
[JAVA]

(PCC)::[Java-Program-to-Check-Whether-an-Alphabet-is-Vowel-or-Consonant]::[java]

File Name : VowelConsonant.java

public class VowelConsonant {

    public static void main(String[] args) {

        char ch = 'i';

        if(ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u' )
            System.out.println(ch + " is vowel");
        else
            System.out.println(ch + " is consonant");

    }
}

Output :

VowelConsonant.jpg