004-004-006
Multidimensional Array: Grade Management System
Medium
Problem Description
Multidimensional Array: Grade Management System
Learning Objective: Understand how to manage data in tabular format using 2D arrays
Overview
Create a program to manage grades of 3 students in 3 subjects using a 2D array, and calculate each student's average score.
Specifications
- Create a 2D array
int[][] scores - Store grades for each student in 3 subjects
- Student 1: 85, 90, 78
- Student 2: 92, 88, 95
- Student 3: 76, 82, 88
- Calculate and output average score for each student
Output Format
Student 1 Average: 84
Student 2 Average: 91
Student 3 Average: 82
Note: Output only integer part of average (truncate decimal)
Ready to Try Running Code?
Log in to access the code editor and execute your solutions for this problem.
Don't have an account?
