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:

  1. Uses a menu system
  2. Creates an array with less than 25 rows and greater than 5 rows and an unknown number of columns
  3. You can assume that the row index represents one individual student
  4. Each column represents an exam score for that individual student (the number of exams will vary by student)
  5. Enter at least 10 students along with a varying number of exam scores for each different student.
  6. Display the Average for all exams by each Student Id
  7. Display the Average for each exam by Exam Number
  8. Display the class average
  9. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!