Question
This program is designed to compute statistics on a list of exam scores readfrom a text file in response to a console prompt. The console
This program is designed to compute statistics on a list of exam scores readfrom a text file in response to a console prompt. The console program welcomes the user and asks for the name of the text file to input. The textfile contains the number of scores followed by the list of scores. Theprogram then computes and displays the following information to the console:
The number of scores, The minimum, maximum, and average scores, The number of A's, B's, C's, D's, and F's; using a 90-80-70-60 scale The median of thescores.
Use at least one function/method, and use an array to store the list of exam scores.
import java.util.Scanner;
import java.io.IOException;
import java.io.FileReader;
import java.io.BufferedReader;
import java.util.Arrays;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started