Hint: You have to clear the the consonant and vowel counts after increment the other (e.g {c_vwl++;c_cnsnt=0;}
), not when they are equal, and always tests your BAD condition.
I will not give you a sample code. Good luck
4
solved C – Cannot iterate through second string onward [closed]