shahnawazm786 / Al_Khozaimi_Batch

Automation Batch
3 stars 1 forks source link

Write a Java program that takes the user to provide a single character from the alphabet. Print Vowel or Consonant, depending on the user input. If the user input is not a letter (between a and z or A and Z), or is a string of length > 1, print an error message. #12

Open shahnawazm786 opened 2 years ago

shahnawazm786 commented 2 years ago

Test Data Input an alphabet: p Expected Output : Input letter is Consonant