Find the count of natural Hexadecimal numbers of size N | Function to return the count of n - digit natural hexadecimal numbers ; Driver code
function count ( n ) { return 15 * Math . pow ( 16 , n - 1 ) ; } var n = 2 ; document . write ( count ( n ) ) ;