Advertisement
PawsonCz

Untitled

Dec 24th, 2020
1,122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.45 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include <cmath>
  4.  
  5. using namespace std;
  6.  
  7. int main() {
  8.     system("chcp 1250");
  9.     int PIN = 0044;
  10.     int yourPIN;
  11.     cout << "enter the valid pin ";
  12.     cout << endl;
  13.     cin >> yourPIN;
  14.     if (yourPIN != PIN) {
  15.         cout << "You' re not enter in";
  16.         cout << endl;
  17.     }
  18.     else if (yourPIN == 004466) {
  19.         cout << "Tis is for another one" << endl;
  20.     }
  21.     else {
  22.         cout << "It was nice try, but it  is not working" << endl;
  23.     }
  24. }
  25.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement