Write a Java program to check vowel or consonant using switch case..
Answers
Answered by
3
Answer:
Check whether an alphabet is vowel or consonant using switch statement
public class VowelConsonant {
char ch = 'z';
switch (ch) {
case 'a':
case 'e':
case 'i':
case 'o':
case 'u':
Similar questions