Advertisement
Josif_tepe

Untitled

Oct 21st, 2024
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.  
  6.     int a, b, c;
  7.     scanf("%d%d%d", &a,&b,&c);
  8.     if((a+b>c) && (a+c>b) && (b+c>a) ){
  9.         printf("triagolnik");
  10.     }
  11.     else {
  12.         printf("nema triagolnik");
  13.     }
  14.     return 0;
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement