WAP to calculate number of vowels and consonents in a given string.
Vowels: A,E,I,O,U are called as Vowels and rest are consonents
Eg input= "Hello World"
Total Vowels:3
Total Consonants: 10
Dont count spaces and other symbols, they are neither vowels nor consonents.
Published By : Suraj Ghimire