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

Is there any restriction in how many arguments printf or scanf function can take? in which file in my c++ compiler i can see the code for implementation of these two functions??

4 Answers  


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

0 Answers  


why we need function pointers?

3 Answers  


main() { char *ptr = "Ramco Systems"; (*ptr)++; printf("%s\n",ptr); ptr++; printf("%s\n",ptr); } Find the Outputs?

9 Answers   BTBP, CitiGroup,


What is the difference between array and pointer in c?

0 Answers  


Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?

1 Answers   Microsoft,


What are logical errors and how does it differ from syntax errors?

0 Answers  


Can you apply link and association interchangeably?

0 Answers   InterGraph,


What is the general form of function in c?

0 Answers  


what is difference between #include<stdio.h> and #include"stdio.h"

4 Answers  


What are advantages and disadvantages of recursive calling ?

12 Answers   College School Exams Tests, Evolving Systems, HP, Jyoti Ltd, Sage, Wipro,


Write any data structure program (stack implementation)

1 Answers   HTC,


Categories