Advertisement
myloyo

1.3.17

Sep 26th, 2022 (edited)
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.21 KB | None | 0 0
  1. #include<iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     double a, b, c;
  7.     cin >> a >> b >> c;
  8.     ((a + b) > c && (b + c) > a && (a + c) > b) ? cout << "exist" : cout << "doesn't exist" << endl;
  9.     return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement