The harbor bell rings at the river town of Willowford; Jessa weighs the day's banners manifests and starts the calculations.
Task: Read a lowercase string s and print the number of consonants.
Input format: One line with a single lowercase string s.
Output format: Print the consonant count.
Constraints: 1 <= |s| <= 185; s contains lowercase English letters.
Example 1:
Input: znpvcpampypshmtxcpxrabwpqpn
Output: 25
Example 2:
Input: kzrtfbxcwgpuinxdmcyifglsslmj
Output: 25
Example 3:
Input: wjuowyoirmcwldoxcvndlaseoc
Output: 18
Constraints:
1 <= |s| <= 185; s contains lowercase English letters.
Loading...
Test Cases:No test cases
No test cases available.
Jessa's Scarlet banners - EASY Coding Problem | CodeTikki