text: Radius of the circle when the width and height of an arc is given | C # program to find radius of the circle when the width and height of an arc is given ; Function to find the radius ; Driver code
code: using System ; class GFG { static void rad ( double d , double h ) { Console . WriteLine ( " The ▁ radius ▁ of ▁ the ▁ circle ▁ is ▁ " + ( ( d * d ) / ( 8 * h ) + h / 2 ) ) ; } public static void Main ( ) { double d = 4 , h = 1 ; rad ( d , h ) ; } }