Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

C Programming 3. Create a program named DynamicList . Create a data structure fo

ID: 3684001 • Letter: C

Question

C Programming
3. Create a program named DynamicList. Create a data structure for classes at UCF. It should have the class identifier such as COP3223 and other information such as the department. Create a linked list of four classes from within a function named CreateList. Now display all items in list from a function named WalkListAndDisplay. C Programming
3. Create a program named DynamicList. Create a data structure for classes at UCF. It should have the class identifier such as COP3223 and other information such as the department. Create a linked list of four classes from within a function named CreateList. Now display all items in list from a function named WalkListAndDisplay. C Programming

Explanation / Answer

Define table(num,show)=

Prgm

Local k,m,list

list:={}

If show=<dim(list1) Then

If show=< span Then

For m,1,dim(list1)

For k,1,num

expr("list:=augment(list,{list"&string(k)&"["&string(m)&"]"&"})")

EndFor

EndFor

Else

For m,show-span,show

For k,1,num

expr("list:=augment(list,{list"&string(k)&"["&string(m)&"]"&"})")

EndFor

EndFor

EndIf

display:=list>mat(list,num)

EndIf

EndPrgm