Question: L2T04 - Compulsory Task 1 Please help with this Java task (It must be a working solution): Follow these steps: Create a new java file

L2T04 - Compulsory Task 1

Please help with this Java task (It must be a working solution):

Follow these steps: Create a new java file called Poetry.java This task is going to be based on your Level 1 Capstone Project II where you created the Caesar cipher. (I will attach screenshots of the JavaScript below) Recreate your project from JavaScript into Java. Include file input-output functionality in your code so that the program can read a text file, encode it, and output the encoded message into a new text file Use your program to read the content of the text file poem.txt. For each line in poem.txt, write a new line in a new text file encodedPoem.txt that is encoded by the cipher. Compile, save and run your file.

L2T04 - Compulsory Task 1 Please help with this Java task (Itmust be a working solution): Follow these steps: Create a new javafile called Poetry.java This task is going to be based on your Level 1 Capstone Project II where you created the Caesar cipher. (I

107108109110111112113114115116//Usethefunctionstoencodethemessageletascii=toAscii(originalMessage);letencodedAscii=encode(ascii);letfinaloutput=toChar(encodedAscii);//Outputthefinaloutputtotheuseralert(Yourencodedmessageis:$ffinalOutput}2)

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!