question archive Grade Array Project This project is a simulation of a grading application where you will apply your knowledge of arrays

Grade Array Project This project is a simulation of a grading application where you will apply your knowledge of arrays

Subject:Computer SciencePrice: Bought3

Grade Array Project

This project is a simulation of a grading application where you will apply your knowledge of arrays. The program will ask the user to input a number of grades (scores) each of which carries a value of 0 to 100. The program will sort the grades, average the grades, and report an overall letter grade. You may write a single class file containing all methods including the main method. The class name must be named GradeArray and must include the following:

1. A method fillGrades ( ), which does not return anything, but performs the following: a. Prompts the user enter a number of grades in the range between 3 and 20. b. Performs a check on the number of grades entered and if the number is not between 3 and 20, prompts the user to try again and enter a number in the range. c. Prompts the user to enter each grade and assigns each grade to an array element. 2. A method printGrades () , which does not return anything but prints out each grade in the array. 3. A method sortGrades ( ), which does not return anything, but sorts the grade values in ascending order. 4. A method catGrades ( ) , which does not return anything, but categorizes the number grades as an A, B, C, D, or F , counts the number of grades in each category, and prints the number of each category according to the following: An 'A' is any grade greater than or equal to 90 and less than or equal to 100 A 'B' is any grade greater than or equal to 80 and less than 90 A 'C' is any grade greater than or equal to 70 and less than 80 A 'D' is any grade greater than or equal to 60 and less than 70 An 'F' is any grade less than 60 5. The main ( ) method will instantiate any needed object(s) and call the methods as described above to produce output resembling the following:

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE