(Solved) : Please Complete Java Write Program Contains Words Array Decodes Hidden Location Watson Con Q43992623 . . .
{Please Complete in Java}
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”code”. Please do NOT use Sb, StringBuilder, etc. Create as simpleas possible.
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.
The following words were provided byWatson:
Nexa2f5
Z52Bizlm
Diskapr
emkem9sD
LaWYr4Us
dAStn78L
mPTuriye
aaeeiuUu
IL8Ctmpn
Expert Answer
Answer to {Please Complete in Java} Write a program that contains the words into an array, and decodes the hidden location so Wats…
OR