The following method takes a list of strings as a parameter and returns the number of times the character 'e' appears in all of the...
X1014: Counting Es
The following method takes a list of strings as a parameter and returns the number of times the character 'e' appears in all of the strings together. It uses an outer loop to repeat over all the positions in the list, and an inner loop to repeat over all the character positions in one string. Complete the two loops so the method operates correctly. For example, if the list given is ["peter", "enter", "new"], this method would return 5.
Your Answer:
Feedback
Your feedback will appear here when you check your answer.