Function to return the length of the median using sides of triangle
public static float median ( int a , int b , int c ) { float n = ( float ) ( Math . Sqrt ( 2 * b * b + 2 * c * c - a * a ) / 2 ) ; return n ; }