Driver code
public static void Main ( ) { int x1 = - 1 , y1 = 3 , z1 = 2 ; int x2 = 2 , y2 = 3 , z2 = 5 ; int x3 = 3 , y3 = 5 , z3 = - 2 ; double angle_A = angle_triangle ( x1 , x2 , x3 , y1 , y2 , y3 , z1 , z2 , z3 ) ; double angle_B = angle_triangle ( x2 , x3 , x1 , y2 , y3 , y1 , z2 , z3 , z1 ) ; double angle_C = angle_triangle ( x3 , x2 , x1 , y3 , y2 , y1 , z3 , z2 , z1 ) ; Console . WriteLine ( " Angles ▁ are ▁ : " ) ; Console . WriteLine ( " angle ▁ A ▁ = ▁ " + angle_A + " ▁ degree " ) ; Console . WriteLine ( " angle ▁ B ▁ = ▁ " + angle_B + " ▁ degree " ) ; Console . WriteLine ( " angle ▁ C ▁ = ▁ " + angle_C + " ▁ degree " ) ; } }