Question: Write a java program that counts the total marks of all the students and also calculates the class total and average. Take the marks

Write a java program that counts the total marks of all the 

Write a java program that counts the total marks of all the students and also calculates the class total and average. Take the marks of the students as user inputs and use a method to calculate the student total operation. Write a separate method that will calculate the class total and class average. Sample Input / Output: Student Week Total 1 3 99 42 74 83 298 1 57 81 69 67 274 2 88 61 79 84 312 3 93 75 78 87 333 Class Total: 1217 Class Average: 304.25

Step by Step Solution

3.43 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

JAVA code import javautilFormatter public class TA public static void mainString ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!