Kotlinlearncs.online LogoJava
Return to List

Solve: Mix Start

Imported By: Geoffrey Challen
/ Version: 2021.4.0

Return true if the given String begins with "mix", except the 'm' can be anything, so "pix", "9ix" .. all count.

boolean mixStart(String input) {
return false; // You may need to remove this starter code
}
// Every input used to contain "ix" either at index 1 or not at all, so checking for "ix"
// anywhere, or anywhere in the first three characters, passed. "ixl" and "matrix" put it
// somewhere else.

Related Lessons

Stuck? You may find these lessons helpful:

Report a Problem

Attribution must link to this page: https://www.learncs.online/solve/java/mix-start/[email protected]