Question: I have been working on this program for about four days, and i cannot figure out what i am doing wrong can anyone help? My

I have been working on this program for about four days, and i cannot figure out what i am doing wrong can anyone help? My code compiles but the output isn't what is required and i am not sure where i went wrong in the code. I have been working on this program for about four days, and

i cannot figure out what i am doing wrong can anyone help?My code compiles but the output isn't what is required and i

Bb Lab 08 Assignment -IS-2041- xhttps://utsa bl https://utsa blac Lab 08 Instructions.pdf Home | Chegg.com a.blackboard.com/bbcswebdav/pid-3727343-dt-content-rid-60062720_1/courses/IS-2041-007-34100-201 Lab ll Airplane mode off This lab will require you to read in (via Scanner object) a flat or clear text file, one line at a time. You will update each line of the file per provided spedifications. You will thonwrite each modified line to a new output text file (via Formatter object), Provided Resources You have been provided with the following .Lob 08 Instructions The input file (changeMe.txt .Expected Resuilts (ChangedYou.txt) NOTE: No starting point is provided for this lab. Requirements You will probably want to refer to your text, Chapter 15, section 15.4 for examples and explanations Nome your code Labe8.java You will need to cosider the following points Necessory import statements o File handling o Exception handling .Contents land order, as needed) of try block/s) Contents of catch block(s) Structure and control of the loop you will use to control the process Specific Processing Requirements .Nome the output file changedYou.txt 2. For eoch individual Ine in the input file, make the following modifications a. Reploce each character "e" with a 3 b. Reploce each character "o with on" c Reploce eoch character "Twith "1 3. Write each modified line to the output file 4. Close input and output files when you are finished with thenm 5. You MAY NOT use an array or any other mears of storing multiple lines of text during processing Submission Requirements Submit a zipped folder contain ONLY your completed Labe8.java source file for the assignment. Do not submit class iles do not submit java les 0 Type here to search 7:40 AM 310/2019 2 Bb Lab 08 Assignment -IS-2041- xhttps://utsa bl Lab 08 Home | Chegg.com https://utsa.blac cswebdav/pid-3727344-dt-content-rid-60062721 1/courses/IS-2041-007-34100-201 1/Lab%2008/cha.. Q This is a short "flat" file. The lines or records in the file will be of varying lengths and not all of them will be full sentences Some lines will be very short; some of the lines or "reconds" will be much longer In processing this file, you will need to be SURE TO MAINTAIN ITS STRUCTURE That is, you may not change the length of any line Nor may change where a line or record ends or begins; you must also maintain the punctuation as provided There are no blank lines in the file there should be no blank lines in your updated version A byte-by-byte comparison will be made between the modified file you submit and the expected results In order to earn a perfect score, your updated file must EXACTLY match the expected results Doing some desk-checking here would be highly advisable You MAY NOT USE AN ARRAY or any other structure for storing the input lines prior to modification The LOOP you write to process the input file must READ from the INPUT file and then directly WRITE to the OUTPUT file. No intermediate processing or storage should take place 7:40 AM O Type here to search Lab 08 Assignment-15-2041. https://utsa blac Lab 08 Home | Chegg.com https://utsa.blac cswebdav/pid-3727345-dt-content-rid-600627221 1-007-34100-201 1/Lab%2008/cha.. Q This 1s short "flgt" f113 Th3 11n3s or r3cords 1n th3 f113 wi11 b3 of vgrylng 13ngths @nd not 11 of th3m w111 b3 full s3nt3nc3s Som3 11n3s w111 b3 v3ry short; som3 of th3 11n3s or "r3conds" 111 b3 much long3r In proc3551ng this f113, you will n33d to b3 SURE TO MAINTAIN ITS STRUCTURE Thet 1s, you m@y not ch@ng3 th3 13ngth of @ny 11n3 Nor my chng3 wh3r3 11n3 or r3cord 3nds or b3gins; you must lso 1ntin th3 punctu tion s provid3d Th3r3 r3 no blnk 11n3s 1n th3 f113 th3r3 should b3 no bl@nk 11n3s 1n your upd@t3d v3rs1on A byt3-by-byt3 comp@r1son will b3 m@d3 b3tw33n th3 mod1f13d f113 you subm1t @nd th3 3xp3ct3d r3sults In ord3r to 3@rn p3rf3ct scor3, your updt3d f113 must EXACTLY m@tch th3 3xp3ct3d r3sults Dolng som3 d3sk-ch3cking h3r3 would b3 h1ghly dv1s@b13 You MAY NOT USE AN ARRAY or @ny oth3r structur3 for stor1ng th3 1nput 11n3s pr1or to mod1f1c@t1on Th3 LOOP you writ3 to proc3ss th3 1nput f113 must READ from th3 INPUT f113 @nd th3n dir3ctly WRITE to th3 OUTPUT f113. No 1nt3rm3d1@t3 proc3ss1ng or storg3 should t@k3 pl c3 7:40 AM O Type here to search

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!