Question: (Triangle.java) Write a program that reads three edges (sides) for a triangle and classify it as Equilateral, Scalene, Isosceles if the input is valid. The

(Triangle.java) Write a program that reads three edges (sides) for a triangle and classify it as Equilateral, Scalene, Isosceles if the input is valid. The input is valid if the sum of every pair of two edges is greater than the remaining edge. You may assume that the user inputs a positive value for the edges. Here is a sample run. Side 1:3 Side 2:3 Side3:9 Output: Invalid input! Side 1:3 Side 2:3 Side 3:3 Output: Eauilateral
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
