Advertisement
Josif_tepe

Untitled

Nov 18th, 2023
622
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2.  
  3.  
  4. using namespace std;
  5.  
  6.  
  7. int main()
  8. {
  9. int a;
  10. int b;
  11. int c;
  12.     cin >> a >> b >> c;
  13.     if(a+b>c and b+c>a and a+c>b){
  14.         cout<<"DA"<<endl;
  15.     }
  16.     else {
  17.         cout<<"NE"<<endl;
  18.     }
  19.     return 0;
  20. }
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement