(Solved) : Please Complete Java First Nonsense Word Considered Even Index 0 B Odd Numbered Words Su Q43986740 . . .
{Please Complete in Java}
a. The first nonsense word is considered to be even(because it is at index 0).
b. For odd-numbered words, you are supposed to only usethe third and fourth
characters.
c. In all other words, you use only the fifthcharacter.
Write a program that contains the words into an array,and decodes the hidden location so Watson can contact Holmes andtell him about this new case. You must use a loop to evaluate eachclue. The final word should be 22bakerstreet. Use an array named”codes”.
The following words were provided byWatson:
Nexa2f5
Z52Bizlm
Diskapr
emkem9sD
LaWYr4Us
dAStn78L
mPTuriye
aaeeiuUu
IL8Ctmpn
Expert Answer
Answer to {Please Complete in Java} a. The first nonsense word is considered to be even (because it is at index 0). b. For odd-num…
OR