Question: output: write code in java programming? 2. Write code that does the following: opens a file named MyNumbers-YOUR_NAME-YOUR_ID bxt, uses a loop to write the

output:

write code in java programming?
2. Write code that does the following: opens a file named MyNumbers-YOUR_NAME-YOUR_ID bxt, uses a loop to write the numbers 200 through 100 to the file by interval 2 (200,198, 196-), and then closes the file. My Numbers.txt file must be created in the project after the program runs (you need to refresh the project with right-click->refresh to see it): assignment2-vasil-12345 JRE System Library (JavaSE-1.8] src V # (default package > A2Vasil12345.java MyNumbers-vasil-12345.txt I And data written in the file (part of it is shown); MyNumbers-vasil- 12345.txt X 1 200 2 198 3 196 4 194 5192 6 190 7 188 8 186 19 184 10 182
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
