Using C Programming: Each student in the university may take a different number of courses, so the registrar  has decided to use a linked list to store each student’s class schedule and to use an array  of structures to represent the whole student body. A portion of this data structure  follows. The records show that the first student (array element 0, id 1111) is taking Section 1 of  CIS120 for 3 credits and Section 2 of HIS001 for 4 credits; the second student (array  element 1, id 1234) is not enrolled, and so on.  Define the necessary data types for creating this structure.  Provide operators for creating the original array of student ID numbers, inserting a  student’s initial class schedule, adding a course, and dropping a course. Write a menudriven main function to use this structure. Menu-driven main function can be something  like this: After each operation that the user selects, it will show a menu and will wait for  the user’s input. Such as: 1-Add course, 2-Drop course, 3-Insert initial class schedule and  4-Exit. When one menu is selected, the program should prompt for necessary inputs to  accomplish that operation

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter13: Structures
Section13.5: Dynamic Data Structure Allocation
Problem 3E
icon
Related questions
Question

Using C Programming:

Each student in the university may take a different number of courses, so the registrar 
has decided to use a linked list to store each student’s class schedule and to use an array 
of structures to represent the whole student body. A portion of this data structure 
follows.
The records show that the first student (array element 0, id 1111) is taking Section 1 of 
CIS120 for 3 credits and Section 2 of HIS001 for 4 credits; the second student (array 
element 1, id 1234) is not enrolled, and so on. 
Define the necessary data types for creating this structure. 
Provide operators for creating the original array of student ID numbers, inserting a 
student’s initial class schedule, adding a course, and dropping a course. Write a menudriven main function to use this structure. Menu-driven main function can be something 
like this: After each operation that the user selects, it will show a menu and will wait for 
the user’s input. Such as: 1-Add course, 2-Drop course, 3-Insert initial class schedule and 
4-Exit. When one menu is selected, the program should prompt for necessary inputs to 
accomplish that operation

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
Types of trees
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage