Driver Code
public static void Main ( ) { float a = 2 , b = 3 ; float h = altitude ( a , b ) ; Console . WriteLine ( " Altitude ▁ = ▁ " + h + " , ▁ " ) ; Console . WriteLine ( " Area ▁ = ▁ " + area ( b , h ) ) ; } }