Please do the following program and submit its code
*Two main programs:
-The main in Program 4.28 creates an integer list and prints it; then
reverses the list, and prints it again. Because it uses integer lists,
it uses the interface and implementation for integer item-types (Program 4.25)
-The main in Program 4.29 does the same, except it instead of an integer
list, it uses a list of airport codes. Because it uses airport code lists,
it uses the interface and implementation for airport code item-types (Program 4.26)
*Three implementations for lists (a ListInterface.h and a ListImplementation.c for each):
Program 4.16: Linked List implemented as nodes and pointers (normal)
Program 4.22: Linked List implemented as an array of structs
Program 4.23: Linked List implemented as a parallel array
No comments:
Post a Comment