How to calculate strike rate of a batsman | function to calculate strike rate of a batsman ; Driver code
function strikerate ( bowls , runs ) { let z ; z = ( runs / bowls ) * 100 ; return z . toFixed ( 3 ) ; } let A , B ; A = 264 ; B = 173 ; document . write ( strikerate ( B , A ) ) ;