Question: Create a java file that will do the following: Open a Numbers.txt file. Write the numbers from 0 to 100 to the file. Read the

Create a java file that will do the following:

  1. Open a Numbers.txt file. Write the numbers from 0 to 100 to the file.
  2. Read the file Numbers.txt that you just created and find the sum, average, and median of all the numbers.
  3. Output the results to a file named Results.txt.
  4. Do not use arrays.

Name the java file IO.java

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!