Kotlinlearncs.online LogoJava
Return to List

Solve: Count Hi

Imported By: Geoffrey Challen
/ Version: 2021.7.0

Return the number of times that the String "hi" appears in the given non-null String.

int countHi(String input) {
return 0; // You may need to remove this starter code

Related Lessons

Stuck? You may find these lessons helpful: