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

Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

1984


What are register variables? What are the advantage of using register variables?

931


What is the condition that is applied with ?: Operator?

910


Explain the use of 'auto' keyword

909


Is there a way to compare two structure variables?

891


Why can’t constant values be used to define an array’s initial size?

1129


What do the functions atoi(), itoa() and gcvt() do?

947


Do you have any idea about the use of "auto" keyword?

893


What is the use of function in c?

965


What are categories used for in c?

838


Implement bit Array in C.

921


Write a program to check prime number in c programming?

846


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

874


Are the variables argc and argv are always local to main?

811


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

866