subject

A Math teacher is teaching Math course to a set of classes (each class may have different number of students) and want to check the behavior of his students in a homework report. The teacher gave the classes the same exam and marked their answer and wants to know the class whose students got the highest average. Help the teacher in the required analysis of student�s marks by implementing a Java program ClassAverageMArks2DimmArray using 2-dimensional array to store the students marks and then compute the average of each class student�s marks. The program has the following specification: � A Method titled averageClassMarks for computing the average (as double) of a class students marks (given to the method as a single-dimensional array) � Another Method titled averageAllClassesMarks for computing the average (as single array of double) of all the classes class student�s marks (given to the method as a 2- dimensional array). This method has to repeatedly call the first method averageClassMarks to calculate the average of student�s marks in each class. � The program reads from the user the number of classes and then reads the classes student�s marks (as integer values) line by line. Each line has the number of students in the class then the student�s marks. � The program calls method averageAllClassesMarks to calculate all the average values of marks of all the classes. Again, method averageAllClassesMarks has to repeatedly call the first method averageClassMarks. � Finally, the program then prints all the average values (rounded to 2 decimal points) of all classes student�s marks and the highest average mark as well. � The program has to work EXACTLY as given in the following sample run.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
question
Computers and Technology, 23.06.2019 00:40
Consider the following statements: struct nametype{string first; string last; }; struct coursetype{string name; int callnum; int credits; char grade; }; struct studenttype{nametype name; double gpa; coursetype course; }; studenttype student; studenttype classlist[100]; coursetype course; nametype name; mark the following statements as valid or invalid. if a statement is invalid, explain why.a.) student.course.callnum = "csc230"; b.) cin > > student.name; c.) classlist[0] = name; d.) classlist[1].gpa = 3.45; e.) name = classlist[15].name; f.) student.name = name; g.) cout < < classlist[10] < < endl; h.) for (int j = 0; j < 100; j++)classlist[j].name = name; i.) classlist.course.credits = 3; j.) course = studenttype.course;
Answers: 1
question
Computers and Technology, 23.06.2019 08:00
What is a scenario where records stored in a computer frequently need to be checked
Answers: 2
question
Computers and Technology, 23.06.2019 16:30
If i wanted to include a built-in calendar in a document, what option could i select? draw table insert table insert chart quick tables
Answers: 1
You know the right answer?
A Math teacher is teaching Math course to a set of classes (each class may have different number of...
Questions
question
Mathematics, 27.08.2021 05:10
question
Mathematics, 27.08.2021 05:10
question
Mathematics, 27.08.2021 05:10
question
Mathematics, 27.08.2021 05:10
question
Advanced Placement (AP), 27.08.2021 05:20
question
Mathematics, 27.08.2021 05:20
question
Mathematics, 27.08.2021 05:20