Vowel and consonant count

Write a function @vowel_consonant_count(s)@ that given an string ss returns the number of vowels and consonants that appear as characters in ss. We assume all characters of ss are letters.

Sample session

Problem information

Author: ProAl

Generation: 2026-01-25T14:19:39.659Z

© Jutge.org, 2006–2026.
https://jutge.org