A program that determines how many consonants are in an entered string of 50 characters.

Jul 11, 2013 at 1:04pm
Write a program that determines how many consonants are in an entered string of
50 characters or less. Output the entered string and the number of consonants in the string.




I am trying to write this program but to no avail.
Jul 11, 2013 at 1:17pm
- I would suggest that you go through each character in the string and check if it's a consonant and keep a counter for how many consonants you come across.
Topic archived. No new replies allowed.