Could someone please help me with this [ C programming, Linked List]

Discussion in 'Programming' started by muhamin, Jul 21, 2010.

  1. #1
    here is the question that i have to answer..

    Write a C program that asks the user to enter items until the user chooses to stop, stores them into list nodes, and chains the nodes together into a linked list.  You will need to make the following changes:
    
    •	Your linked list should store information about Customers’ Transactions that contain three fields: customer name (string), customer number (int), and transaction description (string).  
    •	Instead of putting all of your code inside the main source code file, you should create the following functions:
    o	addToStart()
    o	addToEnd()
    o	printList()
    o	removeNodeAt()
    •	Instead of simply asking the user if they want to add a new node, your main program should offer the user a menu of options:
    o	Add a new node to the end
    o	Add a new node to the beginning
    o	Print out the entire list
    o	Remove a node from the list
    o	Quit the program
    
    Code (markup):
    could someone please help me with this :D will greatly appreciate it
    thanks in advance
     
    muhamin, Jul 21, 2010 IP
  2. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #2
    Google source code for linkedlist you will get it.
     
    it career, Jul 26, 2010 IP
  3. josh97

    josh97 Greenhorn

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    21
    #3
    hai, can i know that you already done doing this coding or not? if done, can you give me the coding if you dont mind. thanks in advance
     
    josh97, Nov 2, 2016 IP