Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

please explain how you did it Programming Assignment One Programming Assignment One The student will develop a Java program that will populate 2,000 student records

image text in transcribed
image text in transcribed
image text in transcribed
please explain how you did it
image text in transcribed
image text in transcribed
image text in transcribed
Programming Assignment One Programming Assignment One 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 Gradingan 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 - MIS 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 "IN_STUDENT_GRADE" as integer constants as 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 student Grade[O] - 84 Value of student Grade [1999] = 76 Using a print statement, as in: System.out.println("Value of student Grader + 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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What is the dealy of the buffer

Answered: 1 week ago