I just want to know how to count the number of vowels and consonants given by the input user using only the library studio.h?
loop through the input and check for it being in the range of a-z or A-Z. If it's in that range, check for being a vowel - if it is, increment your vowel count; otherwise, it's a consonant.
If you need more, post some code.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
loop through the input and check for it being in the range of a-z or A-Z. If it's in that range, check for being a vowel - if it is, increment your vowel count; otherwise, it's a consonant.
If you need more, post some code.