Count Consonants
Easy📝 Description
Count the number of consonants in a string
Input Format
A single string
Output Format
Number of consonants
Constraints
String length ≤ 1000
🔍 Sample Input
Hello World
✅ Sample Output
7
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run