Check Vowel or Consonant Alphabet in Java Programming

0
7
Java Programming Solutions

 Question: 

Write a java program that performs an action to check your input is Vowel Alphabet or Consonant Alphabet? you have to ask the user to enter a character and check Vowel or Consonant Alphabet like output sample.

 Output Sample:    

 Source Code: 

  • Check Vowel or Consonant Alphabet using if-else statement

  • Check Vowel or Consonant Alphabet using switch statement

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here