#include using namespace std; template class Node{ public: int Value; Node * Next; Node(T value) : Value(value), Next(NULL) { } }; template void PrintNode(Node *node){ while (node != NULL) { cout << node->Value << " - > "; node = node->Next; } cout << "NULL" << endl; } template class LinkedList { private: int myCount; public: Node *Head; Node *Tail; LinkedList(); Node *Get(int index); //Insert Operations void InsertHead(T val); void InsertTail(T val); void Insert(int index, T val); //Remove operations void RemoveHead(); void RemoveTail(); void Remove(int index); //Search operation int Search(T val); // Addition Operations int Count(); void PrintList(); }; int main() { Node *node1 = new Node(3.14); Node *node2 = new Node(6.92); Node *node3 = new Node(9.25); node1->Next = node2; node2->Next = node3; PrintNode(node1); return 0; }