Guest User

Untitled

a guest
Jul 16th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {int a,b,c,d;
  5. bas:
  6.  
  7. cout << "";
  8.  
  9. cout << "RUSH B' den sevgilerle...";
  10.  
  11. cout << "Lutfen a kenarini girin = ";
  12. cin >> a;
  13.  
  14. cout << "Lutfen b kenarini girin = ";
  15. cin >> b;
  16.  
  17. cout << "Lutfen c kenarini girin = ";
  18. cin >> c;
  19.  
  20. cout << "Lutfen d kenarini girin = ";
  21. cin >> d;
  22.  
  23. if(a==b && b==c && c==d && d==a)
  24. {
  25. cout << "Kare";
  26. }
  27.  
  28. else if ( a==b && d==c || a==c && b==d || b==c && a==d)
  29. {
  30. cout << "Dikdortgen";
  31. }
  32.  
  33. else
  34. {
  35. cout << "Yamuk";
  36. }
  37.  
  38. goto bas;
  39. return 0;}
Add Comment
Please, Sign In to add comment