Title description
Give you three positive integers, and judge whether using these three integers as the side length can form a triangle.
Input The
input is three positive integers in the range of int, separated by a space.
Output
If it can form a triangle, output "Yes", otherwise output "No".
Sample input Copy
3 4 5
Sample output Copy
Yes
prompt
...
#include<stdio.h>
int main()
{
int a, b, c;
scanf("%d%d%d",&a,&b,&c);
if(a+b>c&&a+c>b&&b+c>a)
printf("Yes\n");
else
printf("No\n");
return 0;
}