Question: C programming Asks the user to enter a word. If word starts with a vowel, the program prints that it starts with a vowel. If

C programming

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: if the user enters "123", your program output should look EXACTLY like this: Please enter a word: 123 123 starts with neither a vowel nor a consonant. As another example: if the user enters "Umbrella", your program output should look EXACTLY like this: Please enter a word: Umbrella Umbrella starts with a vowel. As another example: if the user enters "cat", your program output should look EXACTLY like this: Please enter a word: cat Airplane starts with a consonant Hint: vowels: A, E, I, O, and U (including their lower-case letters). consonant letters: B, C, D, F, G, H, J, K, L, M, N, P, Q, R, S, T, V, X, Z, W and Y (including their lower-case letters).

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!