Maximum number of tiles required to cover the floor of given size using 2 x1 size tiles | Function to find the maximum number of tiles required to cover the floor of size m x n using 2 x 1 size tiles ; Print the answer ; Given M and N ; Function call
function maximumTiles ( n , m ) { document . write ( ( m * n ) / 2 ) ; } let M = 3 ; let N = 4 ; maximumTiles ( N , M ) ;