write a program in Java to display the input and height of a right angle triangle and display it's area
Answers
Answered by
282
Question ⤵️
write a program in Java to display the input and height of a right angle triangle and display it's area.
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);
- }}
Hope it helps you ✌️⚡⚡⚡
Explanation:
please make me brainliest
Similar questions
History,
3 months ago
English,
3 months ago
Computer Science,
6 months ago
Chemistry,
11 months ago
Math,
11 months ago