How to calculate strike rate of a batsman | C # program to calculate strike rate of a batsman ; function to calculate strike rate of a batsman ; Driver Code
using System ; class GFG { static float strikerate ( float bowls , float runs ) { float z ; z = ( runs / bowls ) * 100 ; return z ; } public static void Main ( ) { int A , B ; A = 264 ; B = 173 ; Console . Write ( strikerate ( B , A ) ) ; } }