Advertisement
Bivas_Saha

Problem 6

May 27th, 2019
433
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     int a,b,c;
  5.     scanf("%d %d %d", &a, &b, &c);
  6.     if((a+b)>c && (b+c)>a && (c+a)>b)
  7.         printf("Tri-angle");
  8.     else
  9.         printf("Can not form a Tri-angle");
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement