Question: JAVA Write a class that will call a method from main. The call will look like this: int count = countLettersInWord(aWord, aLetter); In the above
JAVA
Write a class that will call a method from main. The call will look like this:
int count = countLettersInWord(aWord, aLetter); In the above method call, aWord is a String variable that contains Mississippi and aLetter is a String variable that contains i.
2) Write the pseudo code to find all the letter i in Mississippi. Be sure to start at the beginning and go until the last character in the word. Count all the i letters and display the count.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
