Suppose that the vairables a,b,c and t are all of the same numeric primitive type. The following code puts a,b,c in ascending order. Your task is to
do this (by modifying this code - no nested if statements) to put 4 items of same numberic types
a,b,c,d in ascending order (please try to do this with as few an if statements
as possible (5 are sufficient - you get full credit for 6 too) - Convince yourself why 5 is necessary too!).
if ( a > b ) { t = a; a = b; b = t;}
if ( a > c ) { t = a; a = c; c = t; }
if ( b > c) { t = b; b = c; c = t;}