Question: Summan 1 unport java util.Scanner public class BattingAverage ll In this lab, you complete a partialy 4 public stattc votd natn(String args[1) array. Scanner s
Summan 1 unport java util.Scanner public class BattingAverage ll In this lab, you complete a partialy 4 public stattc votd natn(String args[1) array. Scanner s new Scanner (Systen. in); /I Declare a naned constant for array stze bere. The program prompts the user to interactively enter eight batting averages, which the program stores in an array. The program should then find the minimum and maximum batting average stored in the array as well as the average of the eight batting averages. The data file provideci for t lab includes the input statenerd some variable declarations. Com are included in the file to help the remainder of the program. // Declare array here 10 /1 Use this integer vartable as your loop Lndex int loopIndex; 617 Use this vartable to store the batting average Input by double batttngAverage: // String verston of batting average input by user String averageString: 21 Instructions DELL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
