Question: I NEED JAVA CODE FOR THIS. I AM USING NETBEANS. THANK YOU. 2. Write a program to read one-line sentence from the user. Output an

I NEED JAVA CODE FOR THIS. I AM USING NETBEANS.
THANK YOU.
2. Write a program to read one-line sentence from the user. Output an encrypted sentence. Following are the encryption rules that apply to each word in the sentence a. move the last letter to the beginning of the word b. add "dn" at the beginning of each word c. add "yr" at the end of each word for example, "I like java" becomes "dnlyr dnelikyr dnajavyr
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
