Check whether an alphabet is vowel or consonant using switch statement
mrt481 7.6K 28th Aug, 2022
Description
								In the above program, instead of using a long if condition, we replace it with a switch case statement. If ch is either of cases: ('a', 'e', 'i', 'o', 'u'), vowel is printed. Else, default case is executed and consonant is printed on the screen.
 Recent Pastes 
    -     Attributes used in different HTML elements:
        Markup | 2.9K | 7 months ago 
-     C++ Program to Add Two Numbers
        C++ | 8.5K | 1 year ago 
-     C++ Program to Print Number Entered by User
        C++ | 5.4K | 1 year ago 
