Create a program to count the occurrences of a character in a string.
EasyProblem Statement
Create a program to count the occurrences of a character in a string.
Sample Input
str = "Hello", ch = 'l'
Sample Output
Occurrences of l = 2
Limits
Time: 2s · Memory: 256 MB