Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA The final challenge involves a series of integers inscribed on the outside of a treasure chest: challenge4 = [323, 331, 323, 336, 319, 330,

JAVA

The final challenge involves a series of integers inscribed on the outside of a treasure chest:

challenge4 = [323, 331, 323, 336, 319, 330, 322]

Also inscribed on the treasure chest is the String "treasurelieswithinthischest"

To solve this problem you must do the following:

The list of integers contains an encrypted password that will open the treasure chest.

The key to decrypting this password can be found in the String "treasurelieswithinthischest" Use each letter of the String "treasurelieswithinthischest" and extract its value, where a=0, b=1, c=2, etc.

Construct an integer that represents the sum of all letters in the String.

Next, subtract this number from each value in the list of numbers above.

Convert the resulting values to characters where a=0, b=1, c=2, etc.

Please provide CODE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago