Question: 3.1 - Write program that accepts the lengths of three sides of a triangle as inputs. The program output should indicate whether or not the

3.1 - Write program that accepts the lengths of three sides of a triangle as inputs.

The program output should indicate whether or not the triangle is an equilateral triangle.

  • UseThe triangle is equilateral.andThe triangle is not equilateral.as your final outputs.

An example of the program inputs and output is shown below:

Enter the first side: 2 Enter the second side: 2 Enter the third side: 2 The triangle is equilateral. 

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 Programming Questions!