subject
Engineering, 08.03.2021 05:50 briannasj6164

Write a program in JAVA whose input is a line of text. Use the ROT-13 letter substitution cipher to encode the input text into a new string. Print the result. Wow, this is a bidirectional cipher! If the user inputs an encoded message, the same program will print the decoded message.

Ex: If the input is:

Can you break the code?
the output is:

Pna lbh oernx gur pbqr?

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
question
Engineering, 04.07.2019 18:10
Refrigerant 134a enters an insulated compressor operating at steady state as saturated vapor at -26°c with a volumetric flow rate of 0.18 m3/s. refrigerant exits at 9 bar, 70°c. changes in kinetic and potential energy from inlet to exit can be ignored. determine the volumetric flow rate at the exit, in m3/s, and the compressor power, in kw.
Answers: 1
question
Engineering, 04.07.2019 18:10
Afluid flows with a velocity field given by v=(x/t)i.. determine the local and convective accelerations when x=3 and t=1.
Answers: 2
question
Engineering, 04.07.2019 18:10
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
You know the right answer?
Write a program in JAVA whose input is a line of text. Use the ROT-13 letter substitution cipher to...
Questions
question
Chemistry, 15.01.2021 23:10
question
Mathematics, 15.01.2021 23:10
question
Computers and Technology, 15.01.2021 23:10
question
World Languages, 15.01.2021 23:10
Questions on the website: 13722367