Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In c language . Given the length of three edges of the triangle, please design a program to judge the type of a triangle. And
In c language
. Given the length of three edges of the triangle, please design a program to judge the type of a triangle. And the types are right triangle, equilateral triangle, isosceles triangle or ordinary triangle. Input: the non-negative lengths of edges of a set of triangles. Each line specifies the lengths of three edges of each triangle, and lengths are less than 100. -1 means the end of the input. Output: the types of triangles. The types are Right Triangle," Equilateral Triangle," Isosceles Tri- angle, Ordinary Triangle" or "Not a triangleStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started