program for validity of triangle from 3 side

Answers were Sorted based on User's Feedback



program for validity of triangle from 3 side..

Answer / pritam

if(a < (b+c))
if( b < (c+a))
if(c < (a+b))
printf("its a triangle\n");

Is This Answer Correct ?    4 Yes 2 No

program for validity of triangle from 3 side..

Answer / chandra

if a<c and b<c then c<a+b

Is This Answer Correct ?    5 Yes 4 No

program for validity of triangle from 3 side..

Answer / manu

really abhardeep is stupid...?

Is This Answer Correct ?    3 Yes 2 No

program for validity of triangle from 3 side..

Answer / rakesh ranjan

I AGREE WITH PRITAM AND MANU



................................
Abhradeep Chatterjee is a real STUPID

Is This Answer Correct ?    2 Yes 1 No

program for validity of triangle from 3 side..

Answer / abhradeep chatterjee

No above two answers are not corret, because i am not sure
about the shape and angle of the triangle.

Is This Answer Correct ?    1 Yes 1 No

program for validity of triangle from 3 side..

Answer / pritam

I think Abhradeep Chatterjee is a real STUPID.

Is This Answer Correct ?    3 Yes 3 No

program for validity of triangle from 3 side..

Answer / abhradeep chatterjee

yes, the above two answers are correct.

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More C Interview Questions

how to convert binary to decimal and decimal to binary in C lanaguage

7 Answers   BPO, Far East Promotions, IBM, RBS,


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

0 Answers   Aspire, Infogain,


which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma

16 Answers   Accenture, Infosys, TCS, Wipro,


What is the heap?

0 Answers  


what is the output of the following program and explain the answer #include<stdio.h> exp() { main(5) } main(int a) { printf("%d",a); return; }

3 Answers   Satyam,






Hai what is the different types of versions and their differences

0 Answers  


Wt are the Buses in C Language

0 Answers   Infosys,


What is modeling?

0 Answers  


What is use of bit field?

0 Answers  


main() { float a=3.2e40; printf("%d",a); }

9 Answers   Satyam,


tell me the full form of c?

2 Answers  


What is array of structure in c?

0 Answers  


Categories