Question: please explain how you did this The student will develop a Java program that will populate 2,000 student records with a grade ranging from 70

please explain how you did this  please explain how you did this The student will develop a
Java program that will populate 2,000 student records with a grade ranging
from 70 to 100. The grade, expressed as an integer, will be

The student will develop a Java program that will populate 2,000 student records with a grade ranging from 70 to 100. The grade, expressed as an integer, will be produced by Java's random method. The project will be named: CPS121Student Gradingnn Where "nn" is your first and last initials. The program will be implemented using a single dimensional array as in: static int[] student Grade = new int [NUMBER STUDENTS); Note "NUMBER STUDENTS' is an integer constant, as in: static final int NUMBER STUDENTS - 2000; The dummy data will be generated by the Java utility class Random, as in: studentGrade[index] = generator.nextInt ((MAX_STUDENT_GRADE - MIN_STUDENT_GRADE) +1) + MIN STUDENT_GRADE; Note: you must import the Random class, as in: import java.util.Random; You will also have to declare "MAX_STUDENT_GRADE" and "MIN_STUDENT_GRADE" as integer constants as in: static final int MAX_STUDENT_GRADE = 100; static final int MIN STUDENT GRADE = 70; There will be a single line output for each student, as in: Value of studentGrade[0] = 84 Value of student Grade [1999] = 76 Using a print statement, as in: System.out.println("Value of student Grade + index + "] = " + studentGrade[index]); The generation of the random grade (integer) between 70 - 100, as well as the printing of each student output line will be controlled by a for statement, as in; for (int index = 0; index

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!