Question: The arrays we used are entering data into an array, using command line args box to enter data into an array, using JOptionPane to enter
The arrays we used are entering data into an array, using command line args box to enter data into an array, using JOptionPane to enter data into an array, or entering data in a 2d dimensionanl array. If possible I want to know how to answer this problem by defining the array in the code and using Integer.min_value, Integer.Max_value to test each element.

Assignment 10-1 (10 points) : Working with Arrays Complete hands-on exercises 1 to 4 in this chapter. There are 4 versions of the ArrayProgram. All 4 versions of this program, calculate the sum, average, largest, and smallest elements of an array Pick the one that you like best. Add logic inside the for loop to test if the number is between 90 and 100. If the number is in this range, then it should add 1 to the tally of gradeA. You should have another test to see if the number is between 80 and 89 and if it is it should add 1 to the tally of gradeB. You should continue to have tests for 70 to79 being gradeC; 60-69 being graded; and below 60 as being gradeF. After the for loop is done, you should display a list of how many students had A's, B's, etc. in the output message box. If the data is 90 100 80 85 63 73 80 92 90 The display should be something like this Message sum: 753 Average: 83 Largest number: 100 Smallest number: 63 Number of A's: 4 Number of B's: 3 Number of C's:1 Number of D's: 1 Number of F's: 0 i ) OK Create counter variables for each letter grade. (2 points) . . Create conditional statements to determine the number of A's, B's, C's, D's, and F's. (5 points Criteria Grade A: Score is between 90 (inclusive) and 100 (inclusive) Grade B: Score is between 80 (inclusive) and 90 (not inclusive) Grade C: Score is between 70 (inclusive) and 80 (not inclusive) Grade D: Score is between 60 (inclusive) and 70 (not inclusive) Grade F: Score is below 60 Print the counts for each grade in one message box. 3 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
