I have struct like this...User write price and name and each element...
First i make new float array and in this array i put unsorted prieces from linked list.
And then i use merge sort for sorting this array by price...
With for loop i check if first sorted price in array == list->price...
If this is equal then i print list-pric[this pleace]e and list->name[this pleace].
My problem is, when i use 2 equal prices program prints data from struct only for this first pleace.
How can i write code that i skip this check again?