Wrote a program to find the number of consonant in a given string