Java program which, given three sides of a triangle

Assignment Help JAVA Programming
Reference no: EM13941786

Produce a Java program which, given three sides of a triangle, determines whether the triangle is:

1. Equilateral - all sides the same length,

2. Isosceles - two sides the same length or

3. Scalene - no sides the same length

(see Figure 1). Assume that any individual side must be a positive number not greater than 100.0.

1. Also use an appropriate loop to allow the user to repeat the above actions until they choose to exit the program.


Remember to write the source code for each class in a separate file which must have the same name as the class name together with the extension .java. Remember also that by convention, class names commence with a capital letter.

As with all programs you write, you should provide a well-structured solution that is easy to read. You should use meaningful identifier names and should provide useful comments. We need to high-light the structure of our classes, not whether they do or don't work correctly.

Reference no: EM13941786


Write a Review

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd