Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | Apr 2017 |
Last Sign in: | 11 Weeks Ago |
Questions Answered: | 4870 |
Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Hello direction,
Here's the other one I need help with. Specifically the one highlighted in red.
Thanks.Â
Â
Write a program that calculates the total average of each student in a class along with his/her leTergrade and then displays informa±on about the student with the highest score and the student with thelowest score and displays the list of all the students along with their exam scores, their total average andtheir corresponding leTer grade.²he program should also output the average of each test and the Fnalaverage of the class.Assume ten students in the class, declare the following inputs:1-An array that holds the last names of the students.2-An array to hold the Frst names of the students.3-An Array for the grades of ²est 1 for each student.4-An Array for the grades of ²est 2 for each student.5-An Array for the Fnal exam grades for each student.²o calculate the leTer grades:1- ³irst write a method the Fnds the total average of each student assuming the weight for the Fnalexam is 45%, and a weight of 25 % for the minimum grade between tests 1 and 2 and 30% for the testwith the higher grades between ²ests 1 and 2.2- Based on the total average, write a method that Fnds the leTer grade as follows:i.A if 90<= ²otal Average <=100.ii.B if 80<= ²otal Average <90.iii.C if 70<= ²otal Average <80.iv.D if 60<= ²otal Average <70.v.³ if ²otal Average <60.²o display the required output:1- Write a method that calculates and displays the averages for ²est 1, ²est 2 and the ³inal Exam as wellas the class average.2- Write a method that Fnds the student with the highest average and displays the informa±on aboutthe student in the following order:Last name, ³irst name, ²est 1 score, ²est 2 Score, ³inal Exam score, ²otal average, LeTer grade.3- Write a method that Fnds the student with the lowest average and displays the informa±on about thestudent in the following order:Last name, ³irst name, ²est 1 score, ²est 2 Score, ³inal Exam score, ²otal average, LeTer grade4- Write a method that displays the informa±on about all the students in the form:Last name, ³irst name, ²est 1 score, ²est 2 Score, ³inal Exam score, ²otal average, LeTer grade.
Attachments:-----------