program for validity of triangle from 3 side

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which is conditional construct a) if statement b) switch statement c) while/for d) goto

739


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

564


How do you convert strings to numbers in C?

710


What are types of preprocessor in c?

617


write a c program in such a way that if we enter the today date the output should be next day's date.

1679






What is the size of array float a(10)?

657


Write a program which returns the first non repetitive character in the string?

603


What are high level languages like C and FORTRAN also known as?

686


Why we use stdio h in c?

579


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

648


write a program to find out prime number using sieve case?

1642


how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?

1507


can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......

1411


Where static variables are stored in memory in c?

523


What do you mean by dynamic memory allocation in c?

650