Area of Incircle of a Right Angled Triangle | C # code to find the area of inscribed circle of right angled triangle ; Function to find the area of inscribed circle ; Driver code
using System ; class GFG { static double PI = 3.14159265 ; public static double area_inscribed ( double P , double B , double H ) { return ( ( P + B - H ) * ( P + B - H ) * ( PI / 4 ) ) ; } public static void Main ( ) { double P = 3.0 , B = 4.0 , H = 5.0 ; Console . Write ( area_inscribed ( P , B , H ) ) ; } }