Answered step by step
Verified Expert Solution
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
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 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
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66de02f0bbfe3_77666de02f03cfec.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66de02f1817f0_77766de02f106c7c.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66de02f242eb0_77766de02f1b52f4.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66de02f300927_77866de02f272617.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66de02f3de892_77966de02f35ff08.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66de02f487f25_78066de02f412cb6.jpg)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-text-image.webp)
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](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp)
Step: 3
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp)
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started