Function to print the length ( l ) and breadth ( b ) of the rectangle having area = N and | l - b | as minimum as possible
static void find_rectangle ( int area ) { for ( int i = ( int ) Math . Ceiling ( Math . Sqrt ( area ) ) ; i <= area ; i ++ ) { if ( area / i * i == area ) { Console . WriteLine ( i + " ▁ " + ( int ) ( area / i ) ) ; return ; } } }