Question: Activity 3: Triangles A triangle can be characterized in terms In addition, the three sides of a triangle are valid only if the sum of
Activity 3: Triangles A triangle can be characterized in terms
In addition, the three sides of a triangle are valid only if the sum of the length of any two sides is strictly greater than the length of the third side. In this exercise you will complete a program that determines if 3 values form a valid triangle. If valid, the program should output whether or not the triangle is equilateral, isosceles or scalene.

use it as (double variables)
double s1, s2, s3;
Activity 3: Triangles A triangle can be characterized in terms of the length of its three sides. In particular, an equilateral triangle is a triangle with all three sides being equal. A triangle such that two sides have the same length is isosceles and a triangle with all three sides having a different length is scalene. Examples of each can be found in the figure below. 60 TAL 60 60 Figure 1: Examples of Equilateral, Isosceles, and Scalene triangles
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
