Kotlinlearncs.online LogoJava
Return to List

Solve: Middle Three

Imported By: Geoffrey Challen
/ Version: 2021.5.0

Given a String of odd length, return the string length 3 from its middle, so "Candy" yields "and". The string length will be at least 3.

String middleThree(String input) {
return ""; // You may need to remove this starter code
}

Related Lessons

Stuck? You may find these lessons helpful: