WAP ( Write a program) to accept the sides of a triangle and display whether it is an an equilateral or isosceles or a scalene triangle in java
Answers
Answered by
0
Answer:nput sides of a triangle from user. ...
Check if(side1 == side2 && side2 == side3) , then the triangle is equilateral.
If it is not an equilateral triangle then it may be isosceles. ...
If it is neither equilateral nor isosceles then it scalene triangle.
Explanation:MARK ME BRAINLY
Similar questions
Computer Science,
4 months ago
Math,
8 months ago
Math,
8 months ago
English,
11 months ago
World Languages,
11 months ago
Art,
11 months ago