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
0
Answer:
this is your answer my friend
Attachments:
Answered by
0
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;
}
Similar questions
Math,
16 hours ago
Social Sciences,
16 hours ago
Physics,
1 day ago
Social Sciences,
1 day ago
Social Sciences,
8 months ago
Math,
8 months ago