Infosys Interview Question

3.Program to count consonants and print the consonants from the given string