Question: Youre given a String with seemingly random letters. Your goal is to follow the list of steps to manipulate the String. After, it should spit
Youre given a String with seemingly random letters. Your goal is to follow the list of steps to manipulate the String. After, it should spit out the secret code weve been looking for.

import java.util.*;
public class PoD {
public static void main( String [] args ) {
Scanner in = new Scanner( System.in );
String password = in.nextLine();
// PLEASE START YOUR CODE HERE
// *********************************************************
// *********************************************************
//PLEASE END YOUR CODE HERE
System.out.print("END OF OUTPUT");
}
}
Input You will be given a String named password Processing You will use String methods to manipulate the string. Look to JavaDocs to find out how to use these methods. You will use the string methods in the following order: Replace all j's with 'e's using String.replace0) Swap the first half of the string with the second half using String.substring() and String.length) Output Print out the secret password created from the processing steps Examples Sample input Sample output jcoolyour yourecool urbikjridjyo rideyourbike vjcswjlo welovecs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
