Computer Science, asked by amandwivedi7504, 2 months ago

Input the measure of 37 side and check whether a triangle is possible or not if possible then check and display whether it is a scalene triangle or an acid strength that display triangle not possible

Answers

Answered by charantejmadamshetty
0

Answer:

Given three integers as X, Y, and Z representing the three sides of a triangle, the task is to check whether the triangle formed by the given sides is equilateral, isosceles, or scalene.

   Equilateral Triangle: A triangle is said to be equilateral triangle if all the sides are equal. If X, Y, Z are three sides of the triangle. Then, the triangle is equilateral only if X = Y = Z.

   Isosceles Triangle: A triangle is said to be an isosceles triangle if any of its two sides are equal. If X, Y, Z are three sides of the triangle.Then, the triangle is isosceles if either X = Y or X = Z or Y = Z.

   Scalene Triangle: A triangle is said Scalene Triangle if none of its sides is equal.

Explanation:

Similar questions