I'm thinking of a logic to find the third largest number of five given numbers without using array or loops but can use conditionals.
Here is Fastest way of finding the middle value of a triple by stephen c. I want to create a logic for 5 numbers to find the third largest.
I want to reduce the comparisons as much as possible to find an optimal solution.