Computer Science, asked by ItzillusionOp, 1 day ago

Create a program to accept the 3 sides of a figure.
If all the sides are equal then print , “Figure is an EQUILATERAL TRIANGLE” else, print “Figure is not an EQUILATERAL TRIANGLE”

Answers

Answered by armaans5tha
0

Answer:

This program can be done in easy manner on C++ coding language so let's start with its coding :-  

#incude<iostream>

using namespace std;

 int main( ) {

  int side1 , side2 , side3 ;

cin>>side1>>side2>>side3;

if( side1=side2=side3)  {

cout<<" Figure is an Equilateral Triangle"<<endl;

}

else {

cout<< "Figure is not an Equilateral Triangle"<<endl ;

}

return 0;

}Explanation:

Similar questions