Solved: A program that calculates average of math, science grade…
Write a java program that calculates average of math, science grade as well as total class average. The class gets following math and science grade of mid-term:
Your program should meet following requiements:
- The program must declare two-dimensional array to save all data above.
- The program must use nested for loop to calculate math, and science average as well as total class average.
- The program only allow two decimal palces. (Example: 25.54)
Class Average: 74.64
Math Average: 78.02
Science Average: 71.25