#include"stdio.h"
#include"conio.h"
double a,b,c,n;
int i;
void main()
{
printf("Enter 1st numbers\n");
scanf("%f",&a);
printf("Enter 2nd numbers\n");
scanf("%f",&b);
printf("Enter 3rd numbers\n");
scanf("%f",&c);
if((a+b>c)||(b+c>a)||(c+a>b))
printf("They could represent the sides of triangle");
else
printf("They could not represent the sides of triangle");
getch();
}
0 comments: