Length of rope tied around three equal circles touching each other | C # code to find the length of rope ; Function to find the length of rope ; Driver code
using System ; class GFG { static double PI = 3.14159265 ; public static double length_rope ( double r ) { return ( ( 2 * PI * r ) + 6 * r ) ; } public static void Main ( ) { double r = 7.0 ; Console . Write ( length_rope ( r ) ) ; } }