Explore BrainMass

three sides of a triangle

I need assistance in having 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

The details of the problem are enclosed here with in two different formats.

© BrainMass Inc. brainmass.com June 22, 2018, 7:34 am ad1c9bdddf


Solution Summary

This job shows a Java program given three sides of triangle.