Advertisement
Guest User

Untitled

a guest
Mar 17th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int a, b, c;
  8.  
  9. cin >> a >> b >> c;
  10.  
  11. if(a+b>c){
  12. if(a+c>b){
  13. if(b+c>a){
  14. cout << "TAK";
  15. }else{
  16. cout << "NIE";
  17. }
  18. }else{
  19. cout << "NIE";
  20. }
  21. }else{
  22. cout << "NIE";
  23. }
  24. return 0;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement