Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

in java and it has two classes the main and studentReport . please - StudentReport i. In your class you will have the following instance

in java and it has two classes the main and studentReport . please
image text in transcribed
image text in transcribed
image text in transcribed
- StudentReport i. In your class you will have the following instance variables: 1. filename: a String that will hold the name of the file we want to read. 2. grades: a double 2d array that will hold the grades for all the students. 3. students: a Id String array that will hold the names of all the students. 4. gradeditems: a Id String array that will hold the names of all the graded items in the file ii. In your class you will have the following methods: and instantiate the arrays. 2. readFile: - it will read the .csv file and store the values in the arrays we have. 3. writeFile: - it will generate a report card for the selected student and save it as a txt file. The name of the file should be the student's name. - Your report file could have any formatting, but it should include the following: i. The student's name ii. Their grade in every exam, assignment with the appropriate label. For example: Exam one: 50. iii. Their Total. iv. Their letter grade. ( 90 and above A, 80-89 B, 70-79 C, 60-69 D, below 69F ) 4. You can add any methods and variables you IName, HW1, HW2, HW3, Quiz1, Quiz2, Exam1, Exam2, 2 Hannah Abbott, 9,10,10,10,9,14,13,15 3 Amelia Bones, 7, 7, 10,9, 10,15,15,18 4 Michael Corner, 8,9,10,8,10, 14,15,19 5 Vincent Crabbe, 6,5,8,5,10,15,15,20 6 Marcus Flint ,10,6,10,8,10,12,15,20 7 Gregory Goyle, 9,3,10,5,5,14,12,15 8 Rolanda Hooch 8,10,10,10,10,13,15,17 9 Angelina Johnson, 9,1,5,8,10,10,11,16 10 Viktor Krum ,10,0,6,5,10,14,15,14 11 Nevil1e Longbottom, 8, 10,10,5,10,15,14,18 12 Theodore Nott ,4,10,8,9,10,10,15,14 13 Irma Pince, 10,8,10,8,10,15,14,15 14 Stan Shunpike, 3,9,10,9,10,15,13,12 15 Alicia Spinnet, 9,5,6,5,9,11,12,14 16 Emmeline Vance, 5,8,2,3,9,12,11,15 17 Myrtle Warren, 10,5,8,4,9,13,10,16 18 Oliver Wood, 8,7,9,10,9,15,10,18 19 Rose Weasley, 10,9,10,9,10,14,15,19 20Blaise Zabini, 4,0,2,3,5,9,8,10

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