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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started