Question: Question 3 6 Points The program to find out what kind of a triangle is, according to the given sides. Match the gaps (marked with

 Question 3 6 Points The program to find out what kind

Question 3 6 Points The program to find out what kind of a triangle is, according to the given sides. Match the gaps (marked with yellow color) with appropriate terms. Suggested time duration: 4 minutes. 60 260 60 org Selenange Isosceles triangle Scalene triangle Equilateral triangle #include int main() { int a, b, A printf("Enter the values of a, b and c side by side, leaving one space. >"); scanf("%d %d %d", &a,&b, &c); if(a==b Bb==c&&a cc){ printf("Equilateral triangle");} D (a==c&&a!=b&&c!=b||==b&&a!=c&&b!=c E b==c&&b!=a&&c!=a){ printf("Isosceles triangle");} if(a F b&&b!=c&&c!=a){ printf("Scalene triangle");} return 0

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!