Question: First, launch NetBeans and close any previous projects that may be open (at the top menu go to File ==> Close All Projects). Then create

First, launch NetBeans and close any previous projects that may be open (at the top menu go to File ==> Close All Projects).

Then create a new Java application called "Scorer" (without the quotation marks) that declares a two-dimensional array of doubles (call it scores) with five rows and three columns and that uses methods and loops as follows.

all method and variable names should be your own. values you create for scores should be your own create a method that takes a String parameter which will be 15 integers separated by commas that range between 0-100, and returns an array of 15 integers

create a method that takes an array of 15 integers and assigns it to a 2D array in the following: the first 5 scores to row 1 in the array, the second 5 scores are for row 2 in the array and the third set of 5 scores are for row 3 in the array return the 2D array. Each row of scores applies to a student. create method that takes an array of integers as a parameter and returns the avg as a double. It must return a double so if the avg is 70.2 it needs to return 70.2 and not 70. create a method that takes a double as a parameter and returns a string based on the value of the double. For example: if the double is 90 or greater return 'A' 80 - 89.9 return 'B' 70 - 79.9 return 'C' 60 - 69.9 return 'D' less than 60 return a 'F' create a string of 15 integers separated by a commas and call the methods you have created to find out the letter grade for each student based on the avg score they have and print each students avg and grade. For example, a string of scores: "15,89,98,100,76,88,99,65,76,82,45,67,78,84,77" (DO NOT USE THE SCORES I JUST PROVIDED) would produce: Student 0 avg: 75.6 grade: C Student 1 avg: 82.0 grade: B Student 2 avg: 70.2 grade: C

*** You must have all the methods written, this cannot be one block of code

*** You must have comments in your code

*** You must have proper indenting in your code

*** Your code must run

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!