Read a 2D array of marks (rows = learners, columns = subjects) and print each learner's average mark, to 1 decimal place, one per line.
Input / Output
Input: line 1 is "R C" (rows, columns), followed by R lines each with C space-separated marks. Output: R lines, each learner's average to 1 decimal place, in order.
Examples
Input
2 3 70 80 90 60 50 40
Expected Output
80.0 50.0
Input
1 2 100 50
Expected Output
75.0
+ 1 hidden test checked on Submit.
Main.java is the entry point. Add extra classes for OOP exercises — they compile together.
Run your code to see test results here.