Figure 1

Enter Action Code (? for help): ?

   The action codes are:
        ? - Produces this help message
        E - Exit this program
        A - Add a new node to the tail
        D - Remove head node
        L - List all entries in the queue

Enter Action Code (? for help): a

   Enter new node's value: Fred

   Node added

Enter Action Code (? for help): a

   Enter new node's value: Mary

   Node added

Enter Action Code (? for help): a

   Enter new node's value: Pauline

   Node added

Enter Action Code (? for help): a

   Enter new node's value: John

   Node added

Enter Action Code (? for help): l

   Queue nodes are as follows:
        Node 1 => Fred
        Node 2 => Mary
        Node 3 => Pauline
        Node 4 => John

Enter Action Code (? for help): d

   Node removed
   String stored in removed node = Fred

Enter Action Code (? for help): d

   Node removed
   String stored in removed node = Mary

Enter Action Code (? for help): l

   Queue nodes are as follows:
        Node 1 => Pauline
        Node 2 => John

Enter Action Code (? for help): e