Advertisement
Josif_tepe

Untitled

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