Math, asked by Anonymous, 9 hours ago

why would you lie?
-__-

Write a program in java to find and display the area and perimeter of a right angled triangle by using function argument. Take perpendicular and base as inputs from the console ​

Answers

Answered by XxLUCYxX
2

public class top

{ public static void main (String args[])

{ float b, h, area;

b = 5 ;

h =8;

area = ( b * h ) / 2;

System.out.println("Area of Right Angle Triangle is :"+area);

}}

Answered by SANDHIVA1974
4

Answer:

Answer ⤵️

JAVA

public class top.

{ public static void main (String args[])

{ float b, h, area;

b = 5 ;

h =8;

area = ( b * h ) / 2;

System.out.println("Area of Right Angle Triangle is :"+area);

Step-by-step explanation:

YOU HAVE ANY OTHE4 APP TO TALK WITH MI

Similar questions