Hi I try to this lab, but I couldn\'t. please help me. thank you Zero step: Read
ID: 3653478 • Letter: H
Question
Hi I try to this lab, but I couldn't. please help me. thank you Zero step: Read ALL these directions before you begin coding the files. First step: open the "ReverseFileContents.java" file using Dr. Java. Next: fix the code where indicated. Next: ensure the "reverse.txt" file is in the same location as your java file and class file last: run the java program to reveal the ACM code of ethics. import java.io.File; import java.io.FileNotFoundException; import java.io.PrintWriter; import java.util.Scanner; /* Open the reverse.txt file */ public class ReverseFileContents { public static void main(String[] args) throws FileNotFoundException { // // //You need to open the "reverse.txt" file here // // // while ( inputFile.hasNextLine()) { // //Inside the while loop you will get the line of text // one line at a time. // //Next, you will reverse the line and print out the "string" // of characters on the screen for each line // to reveal the ACM code of ethics. // } } }Explanation / Answer
the code was not in undestable can you please make it sense otherwise tell me which program your looking for?