Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

AWS Certified Database Study Guide Specialty DBS-C01 Exam

Authors: Matheus Arrais, Rene Martinez Bravet, Leonardo Ciccone, Angie Nobre Cocharero, Erika Kurauchi, Hugo Rozestraten

1st Edition

1119778956, 978-1119778950

More Books

Students also viewed these Databases questions