A - represents a value that is to be added to the linked list D - represents a value to be deleted from the linked list P - indicates that all values are to be printed in ascending order The character is only used to determine which process is to be executed; it should not be printed, entered into the linked list, or processed in any way. The main program should be mainly function calls. Process input data until end of file. All output should be sent to an output file and be appropriately formatted and labeled. Keep a running log of everything that is going on in the processing.
This
A - represents a value that is to be added to the linked list
D - represents a value to be deleted from the linked list
P - indicates that all values are to be printed in ascending order
The character is only used to determine which process is to be executed; it should not be printed, entered into the linked list, or processed in any way. The main program should be mainly function calls. Process input data until end of file. All output should be sent to an output file and be appropriately formatted and labeled. Keep a running log of everything that is going on in the processing.
Input file: A 54
A -17
A 32
A 81 A -30 A 18 P
A 41 A 93 A 65 A 80 A 104 A -20 D 81 D 54 D -30 A 79 A 63 A 77 A –33 D 104 D -20 D 80 D 32 P
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images