Page 1 of 1

4.11 LAB: Mileage tracker for a runner Given the MileageTrackerNode class, complete main() in the MileageTrackerLinkedLi

Posted: Thu Jul 14, 2022 2:17 pm
by answerhappygod
4.11 LAB: Mileage tracker for a runner
Given the MileageTrackerNode class, complete main() inthe MileageTrackerLinkedList class to insert nodes into alinked list (using the insertAfter() method). The first user-inputvalue is the number of nodes in the linked list. Use theprintNodeData() method to print the entire linkedlist. DO NOT print the dummy head node.
Ex. If the input is:
the output is: