i have sorted singly linked list but my problem is starting after it.i have to print the info within the range defined by user input.i tried i little but i need help.
void printUserInput()
{
char x,y;
node * temp=head;
cout<<"Please enter two latter"<<endl;
cin>>x;
cin>>y;
if(x>=y)
{
cout<<"The second user input must come after the first one."<<endl;