h007
May 9, 2016, 04:37 AM
Design a program to compute the number of times the character e occurs in a string s. The program should not distinguish between lower and upper case characters.
For example if the user entered the following input:
char e = ‘t’
String s = “aCT5De HTEetbN1”
Then the output would be 3.
In your answer clearly detail the design of the program as well as creating the code for the solution.
For example if the user entered the following input:
char e = ‘t’
String s = “aCT5De HTEetbN1”
Then the output would be 3.
In your answer clearly detail the design of the program as well as creating the code for the solution.