##
Sort 3 Integers without using if condition or using only max() function
March 23, 2017

Given three integers, print them in sorted order without using if condition. Examples: Input : a = 3, b = 2, c = 9 Output : 2 3 9 Input : a = 4, b = 1, c = 9 Output : 1 4 9 Approach: 1. Find the maximum of a, b, c using… Read More »