C++ program to Count Number of Vowels and Consonants in a String

C++ program to Count Number of Vowels and Consonants in a String

In this example code, you will learn to make c++ program to count number of vowels and consonants in a string.

Program:

Output:

Enter an Alphabet to check vowel or consonant : CodeRevise

Number of Vowels are : 5
Number of Consonents are : 5

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top