rootuss

haslo

Mar 3rd, 2017
189
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data