Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Question How are IRAs treated for state tax law purposes?

Answered: 1 week ago