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

write a c program for swapping two strings using pointer

0 Answers  


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

16 Answers   Accenture, Infosys, TCS, Wipro,


What is the use of bitwise operator?

0 Answers  


Explain the Difference between the New and Malloc keyword.

0 Answers   InterGraph,


#include<stdio.h> int main() { int a[3][3][2]= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18}; printf("%d\n",*(*(*a+1)); return 0; } What will be the output of the above question? And how?

1 Answers   Groupon,






how can i get this by using for loop? * ** * **** * ******

3 Answers   Excel,


There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.

2 Answers  


how could explain about job profile

0 Answers  


Hi can anyone tell what is a start up code?

0 Answers   CTS,


What is function prototype in c language?

0 Answers  


#include<stdio.h> #include<conio.h> void main() { int m=0111,n=20; printf("%d%d\n",m,n); getch(); }

1 Answers  


Can you define which header file to include at compile time?

0 Answers   Aspire, Infogain,


Categories