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

when will be evaluated as true/ if(x==x==x) a) x=1; b) x=0; c) x=-1; d) none

7 Answers   HCL,


WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER

0 Answers  


What is identifiers in c with examples?

0 Answers  


Explain what are compound statements?

0 Answers  


Do you know what are the properties of union in c?

0 Answers  






What is string constants?

0 Answers  


main() { printf(5+"Vidyarthi Computers"); }

6 Answers  


Is main is a keyword in c?

0 Answers  


plz answer..... a program that reads non-negative integer and computes and prints its factorial

2 Answers  


what will be the output of this program? void main() { int a[]={5,10,15}; int i=0,num; num=a[++i] + ++i +(++i); printf("%d",num); }

6 Answers   Microsoft,


What is a C array and illustrate the how is it different from a list.

1 Answers   Amazon,


Write a program to exchange two variaables without temp

9 Answers   Geometric Software,


Categories