Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main()
- {int a,b,c,d;
- bas:
- cout << "";
- cout << "RUSH B' den sevgilerle...";
- cout << "Lutfen a kenarini girin = ";
- cin >> a;
- cout << "Lutfen b kenarini girin = ";
- cin >> b;
- cout << "Lutfen c kenarini girin = ";
- cin >> c;
- cout << "Lutfen d kenarini girin = ";
- cin >> d;
- if(a==b && b==c && c==d && d==a)
- {
- cout << "Kare";
- }
- else if ( a==b && d==c || a==c && b==d || b==c && a==d)
- {
- cout << "Dikdortgen";
- }
- else
- {
- cout << "Yamuk";
- }
- goto bas;
- return 0;}
Add Comment
Please, Sign In to add comment