Can any one help to write code for this ?

recursive function to count total number of consonants in it.
Your function should return the count of consonants.

I rarely see others write such today since it's the old "letter frequency" problem which we can find over 100 solutions at

There's other subsets there under "Other tasks related to string operations:"

In other words, something of a well worn function done to perfection.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.