Function to print the largest and smallest N - digit Hexa - Decimal number
function print ( largest ) { document . write ( " " + findLargest ( largest ) + " " ) ; document . write ( " " + findSmallest ( largest ) + " " ) ; }