Question
Ragged Array Assignment Java Program Outcome: Demonstrate the ability to create and use a 1D array Demonstrate the ability to create and use a 2D
Ragged Array Assignment Java Program
Outcome:
Demonstrate the ability to create and use a 1D array
Demonstrate the ability to create and use a 2D array
Demonstrate the ability to create and use a jagged array
Program Specifications:
Write a program that does the following:
Use different methods for each choice
Uses a menu system
Creates an array with 25 rows and an unknow number of columns
You can assume that the row index represents one individual student
Each column represents an exam score for that individual student (the number of exams will vary by student)
Enter at least 10 students along with a varying number of exam scores for each different student.
Display the Average for all exams by each Student Id
Display the Average for each exam by Exam Number
Display the class average
Everything needs to be a written in Static Method
The menu system will have an option to input grades for the next student. Once pressed the user will then enter how many exams that student has taken. The program will then ask the user to enter each of those exam scores.
Menu will have an option to display the exam average by student.
Menu will have an option to display the exam average by exam.
Menu will have an option to display the current class average for all exams.
YOU CANNOT:
Use global variables
Use the word goto
Use the break command outside a case statement
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started