Question: Write a Java Program to manage student information of a university. The Java program does the following steps: a) The program must use single-dimensional arrays

Write a Java Program to manage student information of a university. The Java program does the following steps: a) The program must use single-dimensional arrays to store the student information such as Student ID, Name and Major. b) The program asks the user to provide the number of students. (2 Points) c) The program asks the user to enter the Student IDs for the number of students and stores them. (2 Points) d) The program asks the user to enter the corresponding names for the number of students and stores them. (2 Points) e) The program then asks the user to provide the corresponding major for the students and stores them. (2 Points) f) The program then should display the following options: 1. ID Search 2. Major Enrollment 3. Exit g) On selecting option 1, the user can search for a student using Student ID. The program asks the user to enter a Student ID. It then should print the corresponding students details such as Name and Major if the user provided Student ID number is present in the stored data. If the users Student ID number does not exist, it should display message Student Not Found. (10 Points) CPS 2231 Computer Programming Homework Assignment 1 h) On selecting option 2, the program asks the user to enter a Major and then displays the names of students enrolled only in that Major. If the user provided Major does not exist in the stored data, it should display message No Students are Enrolled in this Major. (10 Points) i) On selecting option 3, the program displays a message Program Terminates and exits. (2 Points)

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!