// Complete this method so that it uses encryptedCharacter to
// return the encrypted version of theMessage using theOffset
Stringmessage="";
for(intlength=0;length<theMessage.length();length++)// for loop to count up through the word length
{
chartheChar=theMessage.charAt(length);// selects the letter at the current char placement
if((theOffset<0&&!(ascii<=65-theOffset&&ascii>=65-theOffset)//for each if statement, if the character falls between the range, then the offset value is subtracted
||(theOffset<0&&!(ascii<=97-theOffset&&ascii>=97-theOffset)))){// inclusive to a wrap around (this goes for the following 3 if statements)