write a program in java to calculate the area and perimeter of a right angled triangle
Answers
Answered by
2
Answer:
I hope for this question is helpful for you
Explanation:
JAVA
1.public class top.
2.{ public static void main (String args[])
3. { float b, h, area;
4. b = 5 ;
5. h =8;
6.area = ( b * h ) / 2;
7.System.out.println("Area of Right Angle Triangle is :"+area);
8.}}
Similar questions
Geography,
6 months ago
Computer Science,
6 months ago
Hindi,
1 year ago
English,
1 year ago
Math,
1 year ago