Question: #5 using the C programming language 5. Write a function, which given three integer values representing the sides of a triangle, returns + O if
5. Write a function, which given three integer values representing the sides of a triangle, returns + O if the values cannot be the sides of any triangle. This is so if any value is + negative or zero, or if the length of any side is greater than or equal to the sum of + the other two. + 1 if the triangle is scalene (all sides different). + 2 if the triangle is isosceles (two sides equal). I + 3 if the triangle is equilateral (three sides equal)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
