Question: Write a program which takes a String input, and then prints the number of times the string sh appears in the String (s and h
Write a program which takes a String input, and then prints the number of times the string "sh" appears in the String (s and h can be any case).
Hint - remember there are String methods which return a copy of the String it is called on with all letter characters changed to the same case.
JAVA, thx
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
