Advertisement
rootuss

haslo

Mar 3rd, 2017
457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     string haslo="delta";
  8.     cout<<"Podaj haslo: ";
  9.     string podane;
  10.     cin>>podane;
  11.  
  12.     if(podane==haslo) cout<<"masz dostep"<<endl;
  13.     else cout<<"Bledne haslo"<<endl;
  14.  
  15.     return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement