If the character is an alphabet, then it should check if it is a vowel or consonant.
If it is a vowel, then print "Vowel".
If it is a consonant, then it should print "Uppercase" if it is in uppercase and "Lowercase" if otherwise.
If the character is numeric then it should check the value.
If it is less than 5, then print "First-half".
If it is greater than or equal to 5, then print "Second-half".
Print "Others" if input is neither an alphabet or a numeric.
i dont know how to code it because i cant figure out what syntax to use to be able to make the character alphabet or a number
the outcome i exect is either of this 6
ex 1.
enter a character: A
vowel
ex 2.
Enter a character : B
Uppercase
ex 3.
Enter a character : b
Lowercase
ex 4.
Enter a character: (lower than 5)
first half
ex 5.
Enter a character :(higher or equal to 5)
secon half
ex 6.
Enter a character : (neither alphabet or number)
other
View on Stack Overflow
