Computer Science, asked by esha1515pal, 11 months ago

Write a Java program to check vowel or consonant using switch case​..

Answers

Answered by Zisha7
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