Question
Ragged Array Assignment Outcome: Student will demonstrate the ability to create and use a 1D array Student will demonstrate the ability to create and use
Ragged Array Assignment
Outcome:
- Student will demonstrate the ability to create and use a 1D array
- Student will demonstrate the ability to create and use a 2D array
- Student will demonstrate the ability to create and use a jagged array
- Student will demonstrate the ability to design a menu system
- Student will demonstrate the ability to think
Program Specifications:
Write a program that does the following:
- Uses a menu system
- Creates an array with less than 25 rows and greater than 5 rows and an unknown 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.
Submission Requirements:
- You must follow the rules from the second assignment.
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