Question: 1. Write a Java program to determine types of triangles. The program reads 3 integer numbers from the standard input. The numbers represent the lengths

1. Write a Java program to determine types of triangles. The program reads 3 integer numbers from the standard input. The numbers represent the lengths of the sides of a triangle. The program prints a message to the standard output that indicates whether the triangle represented by the input is an equilateral (all 3 sides are equal), or an isosceles (exactly 2 of the 3 sides are equal), or . a scalene (all 3 sides are of different lengths) The program should print out appropriate messages when an erroneous input or condition is encountered Submission: The source code of your program. 1. a. Execute "Run As/ Maven build..." b. Enter "clean package" c. Step 1.b produces a ZIP file in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
