Program to find the area of the right angle triangleExplanationA Triangle having one interior angle of 90 degrees as right angle is called as Right Angle Triangle which has a Hypotenuse(the side opposite to its right angle ), base and height. Area of Right Angle Triangle = ½ ( b × h) b is base and h is height. Algorithm
ComplexityO(1) SolutionPythonOutput: Area of Right Angle Triangle is: 20.0 COutput: Area of Right Angle Triangle is : 20.0000 JAVAOutput: Area of Right Angle Triangle is : 20.0 C#Output: Area of Right Angle Triangle is: 20.0 PHPOutput: Area of Right Angle Triangle is : 20
Next Topic#
|