Question: Write a java program that does basic encrypting of text. You will ask the user the filename of a text file which contains a few

Write a java program that does basic encrypting of text. You will ask the user the filename of a text file which contains a few sentences of text. You will read this text file one character at a time, and change each letter to another one and write out to an output file. The conversion should be done a -> b, b->c , z->a, A->B, B->C, . Z->A. This means just shift each letter by one, but Z goes back to A. Example: Hello converts to Ifmmp All other punctuation and spaces or symbols can stay as they are.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!