Write a program to find Number of Vowels and Consonants of a string in C++

Example :



Output :

Enter a line of string: This is 15 C program
vowels: 4
Consonants: 9
Digits: 2
White spaces: 4