Count Vowels and consonants from a string

Given a string count the number of Count Vowels and consonants in a string.

alphabets letters ‘a’, ‘e’, ‘i’, ‘o’, ‘u’ are the vowels and remaining all alphabets letters are consonants.

Solution:

Leave a Reply

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