josiftepe

Untitled

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