Question: (20 points) Problem 5-Write a program. Submit WordStart.java Write a program that: Asks the user to enter a word. If word starts with a vowel,

 (20 points) Problem 5-Write a program. Submit WordStart.java Write a program

(20 points) Problem 5-Write a program. Submit WordStart.java Write a program that: Asks the user to enter a word. If word starts with a vowel, the program prints that it starts with a vowel. If word starts with a consonant, the program prints that it starts with a consonant. . If word starts with neither a vowel nor a consonant (e.g., it starts with a number, or a punctuation character, or it is the empty string), the program prints that it starts with neither a vowel nor a consonant. Example Program Run: Please enter a word: 543 543 starts with neither a vowel nor a consonant. Example Program Run: Please enter a word: Airplane Airplane starts with a vowel. Example Program Run: Please enter a word: cat cat starts with a consonant

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!