+1 714-215-3097

(Solved) : Write Program Creates Simple Linked List 10 Elements Hold Integers 1 10 1 Creating Head Fi Q35583648

Write a program that creates a simple linked list of 10 elementsthat hold integers from 1 to 10.

You should do this by

1) Creating the head, and the first node

2) Use a for loop and the function push() that we discussed inclass, that adds nodes at the BEGINNING of the linked list.

3) Write a function that traverses the linked list and printsthe elements in the process.

Leave a Reply

Your email address will not be published. Required fields are marked *