Question: JAVA- Write a program that gets a single character from the user. if the user enters more than one character, use the first one. Then

JAVA- Write a program that gets a single character from the user. if the user enters more than one character, use the first one. Then determin wherer the character is a letter, number or something else. If it's a letter, determine whether is is a vowel or consonant. If it's a number, determine wheter it's odd or even. Here a few exasmple runs of the program:

Enter a single character; a

a is a lower case vowel

Enter a single character: x

X isn upper case consonant Enter a single character: 8

8 is an even number

Enter a single character: 94

9 is an odd number

Enter a single character: !

! is neither a letter or number

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!