SOLVED: Use scnr.next() to read strings from input until "bathrobe" is read. If the string read from input is not equal to "bathrobe", output "Try again". Otherwise, output "Done!" End each output
Java - Get the character before an index within the String