what the wrong for this code :
if (head==NULL)//1 if the list is embty
cout<<"NO element in linked list ";
else if {
if (head==tail){ ///2- if we have one node
delete head ;
}
how i can write the other case
if valid addrese
if the addrese in first node
if the addrese last node
if the addrese between two node .-> more than two node .node before ande node after that addrese ..
.....