← Back to Strings
Question 416
Count Consonants
Count Consonants
Count the consonants in"hello world"— the alphabetic letters that are not vowels (a,e,i,o,u). Spaces do not count. Print: 7
Expected Output:
7
Topics:
Strings
Code Editor
1
Tab to indent · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.