Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- string PIN;
- int main()
- {
- cout << "Witaj w naszym banku!" << endl;
- cout << "Wprowadz swoj numer PIN" << endl;
- cin >> PIN;
- if (PIN == "7733") // prawda lub falsz
- {
- cout << "Poprawny PIN" << endl;
- }
- else
- cout << "Niepoprawny PIN" << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement