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

Why is sprintf unsafe?

0 Answers  


I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.

0 Answers   Oracle,


What are the differences between Structures and Arrays?

0 Answers   TCS,


without using control structures and control structures find the max and min of given 2 nos

1 Answers   HCL,


What is pointer to pointer in c with example?

0 Answers  






consider the following C code main() { int i=3,x; while(i>0) { x=func(i); i--; } int func(int n) { static sum=0; sum=sum+n; return(sum); } the final value of x is

4 Answers   TCS,


What does void main () mean?

0 Answers  


Why is c so important?

0 Answers  


What is structure padding and packing in c?

0 Answers  


How many ways are there to swap two numbers without using temporary variable? Give the each logic.

9 Answers  


how many error occurs in C language ?

22 Answers   Infosys, Wipro,


What is the purpose of main( ) in c language?

0 Answers  


Categories