Question: Exercise 2 The letters a, e, i, o and u in lowercase and uppercase are called vowels. Alphabets other than vowels are called consonants. Write
Exercise 2 The letters a, e, i, o and u in lowercase and uppercase are called vowels. Alphabets other than vowels are called consonants. Write a C++ program to enter an alphabet and check if it is a vowel or a consonant using "switch-case" statement Example of RUN Enter an alphabet: a a is a vowel Enter an alphabet: b b is a consonant Exercise 3 Write a C++ program to enter an alphabet and check if it is a vowel or a consonant using "if-else statement and logical operators
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
