Let's say we have apple, pear, banana, watermelon variables. And they have random values.
How can I get which one has the biggest value ? And If there are 2 or 3 varibles which have same biggest values, then learn that ?
This is a very long way if there are more than 4 varibles;
if apple > pear and apple > banana and apple > watermelon
if pear > apple etc ect.
Also if there are 2 variables which have same biggest values if condition goes bigger :(
Is there any easier way ? Thank you very much.