Question: JAVA Write a program that will write 5000 random number to a file named RandomNumbers.txt. Then, read this file and do the following: Write the
JAVA
Write a program that will write 5000 random number to a file named RandomNumbers.txt. Then, read this file and do the following:
Write the even number to a file named EvenNumbers.txt
Write the odd number to a file named OddNumbers.txt
Write the following statistics to the file named Stats.txt
Largest number in RandomNumbers.txt
Smallest number in RandomNumbers.txt
The average of all the values in RandomNumbers.txt
Number of even values
Number of odd values
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
