Question: Using BlueJ (or other IDE), write and debug a program to input 4 characters from user. After each character is entered, check whether the given

Using BlueJ (or other IDE), write and debug a program to input 4 characters from user. After each character is entered, check whether the given character is an alphabet, digit, or special character using either if-else or switch. Distinguish if a letter is a vowel or a consonant. Distinguish if a number is even or odd. Consider if a user enters a capital or lowercase character. - A character is alphabetical if it is between az or AZ - A letter is a vowel if it is ' a ', ' e,i,O ', 'u' or ' A,E,I,O,U ' - A character is a digit if it between 0-9 - The even digits are ' ', '2', '4', '6', ' 8 ' - A character is a special symbol if it is neither an alphabetical or digit Step by step descriptive logic to check the logic outlined above. 1. Input a character from user. Store it in an appropriate variable. a. First check if the character is an alphabet letter. b. If the character is a letter, check if it's a vowel or consonant. 2. Next, check the condition for digits. 3. Now, if a character is neither alphabet nor digit, it is a special character. 4. Add the loop to repeat the operation after checking that it works for one character
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
