Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in java please and add some comments - StudentReport i. In your class you will have the following instance variables: 1. filename: a String that
in java please and add some comments - 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 1d String array that will hold the names of all the students. 4. gradedltems: 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: 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 1d 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: 1. A constructor that will take the file name 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 69E )
in java please and add some comments
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started