Question: Program Exercise 2 Identify the Triangle Type by Angles Prompt the user for 3 angles of a triangle in degrees. Ensure all 3 values are

 Program Exercise 2 Identify the Triangle Type by Angles Prompt the

Program Exercise 2 Identify the Triangle Type by Angles Prompt the user for 3 angles of a triangle in degrees. Ensure all 3 values are greater than 0 before continuing, otherwise output an appropriate error and stop the program. Ensure that the sum of the three angles is exactly 180 degrees before continuing, otherwise output an appropriate error and stop the program. that the triangle is equilateral, isosceles, or scalene and triangle type to the user. An equilateral triangle has degree angles. An isosceles triangle has two angles that Determine if output the three 60 are the same. A scalene triangle has three diffe rent angle values. (20 Points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!