Advertisement
Josif_tepe

Untitled

Mar 6th, 2024
581
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.     int a, b, c;
  5.     scanf("%d%d%d", &a, &b, &c);
  6.  
  7.     if(a + b > c && a + c > b && b + c > a) {
  8.         printf("TRIAGOLNIK\n");
  9.     }
  10.     else {
  11.         printf("NISHTO\n");
  12.     }
  13.    
  14.     return 0;
  15.  
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement