class Node

{

private:

    char CTR[10];

    Node* pNext;

public:

    int getNB(void)             {   return nNB;     }

    Node *getNext(void)         {   return pNext;   }

    void setCTR(char n)         {   CTR = n;        }

    void setNext(Node* next)    {   pNext = next;   }

};

class LinkedList

{

private:

    char CTR[10];

    Node* pHead;

public:

    void Insert();

    void get();

    void Print();

};

void LinkedList::get(){cin >> CTR;}

void LinkedList::Insert()

{

    get();

    Node *newnode, *cur;

 

    newnode = new Node;

    newnode->setNB(data);

    newnode->setNext(NULL);

 

    if( !pHead )