I need to identify how many vowels i have in a sentence, how many consonants, and how many other signs like ?,;,%...
I have a field for vowels like this
Code:
char samoglasnik_p[]={'a','A','e','E','i','I','O','o','U','u'};
, so i compare them and that works but the rest is fu****. I don't know how to tell to program how to recognize consonants and other signs. Is there any way to do this? I tried to do something like this but...
Code:
if((buffer[i]>='a' && buffer[i]<='z' != samoglasnik_p[i])==k)
help