Find area of the larger circle when radius of the smaller circle and difference in the area is given | C # implementation of the approach ; Function to return the area of the bigger circle ; Find the radius of the bigger circle ; Calculate the area of the bigger circle ; Driver code
using System ; public class GFG { static double PI = 3.14 ; static double find_area ( int r , int d ) { double R = d / PI ; R += Math . Pow ( r , 2 ) ; R = Math . Sqrt ( R ) ; double area = PI * Math . Pow ( R , 2 ) ; return area ; } static public void Main ( ) { int r = 4 , d = 5 ; Console . Write ( find_area ( r , d ) ) ; } }