Answered step by step
Verified Expert Solution
Question
1 Approved Answer
IN JAVA student.txt: Exercise 2: CourseManager.javal a. Develop a program that prompts the user to enter the courses' details and creates an array of courses
IN JAVA
student.txt:
Exercise 2: CourseManager.javal a. Develop a program that prompts the user to enter the courses' details and creates an array of courses using values provided by the user. Each line of the user input represents: Name, Department code, course number, instructor name. The user can end the input sequence by entering "no". b. Print the number of courses entered by the user and the details of the courses entered. c. Read the students' details from the students.txt file and save them in an array of students. These students are registered to the CMP256 GUI Design and Programming course. d. Prompt the user to enter the course codes to be added for a specific student (minimum 2 courses). This input should lead to adding the students to the array of registered students in the corresponding course. e. Modify the main program to give the user the options to do the following: 1. Print the details of the students including the number of courses they are registered for and the information of the courses. 2. For each course, print the names and ids of the students registered in it. 3. Exit the program. Afra 00083712 girl g00083712@aus.edu CSE 0 Ahmed 00085660 boy b00085660@aus.edu CSE 0 Akchunya 00084986 boy b00084986@aus.edu CSE O Bardia 00084174 boy b00084174@aus.edu CSE O Diab 00080929 boy bo0080929@aus.edu CSE O Exercise 2: CourseManager.javal a. Develop a program that prompts the user to enter the courses' details and creates an array of courses using values provided by the user. Each line of the user input represents: Name, Department code, course number, instructor name. The user can end the input sequence by entering "no". b. Print the number of courses entered by the user and the details of the courses entered. c. Read the students' details from the students.txt file and save them in an array of students. These students are registered to the CMP256 GUI Design and Programming course. d. Prompt the user to enter the course codes to be added for a specific student (minimum 2 courses). This input should lead to adding the students to the array of registered students in the corresponding course. e. Modify the main program to give the user the options to do the following: 1. Print the details of the students including the number of courses they are registered for and the information of the courses. 2. For each course, print the names and ids of the students registered in it. 3. Exit the program. Afra 00083712 girl g00083712@aus.edu CSE 0 Ahmed 00085660 boy b00085660@aus.edu CSE 0 Akchunya 00084986 boy b00084986@aus.edu CSE O Bardia 00084174 boy b00084174@aus.edu CSE O Diab 00080929 boy bo0080929@aus.edu CSE OStep 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