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

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

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!