Hi,Here I compared every num1,num2 and num3 with remaining two.and tried to display middle one. running successfully,but not verified.