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 String.

fun countHi(input: String): Int {
return 0 // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: