11735 - 231001_12/14_practice13-2   

Description

Finish the following 3 functions to finish the problem

(1.) void createNodeList(int n) //function to create the list

(2.) void InsertNodeatEnd(int l) //function to insert node at the end

(3.) void displayList() //function to display the list

Note!! You must follow the instruction to create the same function name

Input

  • The number of nodes (An integer)
  • The data for each node (An integer)
  • The data to insert at the end of the list (An integer)

Output

  • See the sample I/O

Sample Input  Download

Sample Output  Download

Tags




Discuss