You need help writing this program in JAVA, this is an introductory java course, so if possible, keep it as basic/simple as possible while still following the instructions. The output should look like the sample execution at the end of the problem.
Write a program that will find the average of a list of numbers found in a file.
Input Validation:
No input validation required. Assume the input file will have the correct type of data.
Requirements:
The program must ask the user for the name of the file.
You must have a method with the following header: public static double deviation(File inputFile)
This method will take a File object as input and use File I/O to calculate and return the standard deviation of a series of numbers found inside of a file.
You should create your own test files to test the functionality of your program.