#15 - Count Vowels and Consonants

Problem Statement:

Write a program to count the number of vowels and consonants in a given string.

Example 1

Input:

"Coding"

Output:

Vowels: 2

Consonants: 4

Example 2

Input

"Hello World"

Output

Vowels: 3

Consonants: 7

Example 3

Input

"12345"

Output

Vowels: 0

Consonants: 0

Example 5

Input

"AEIOUaeiou"

Output

Vowels: 10

Consonants: 0

Last updated