codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#include <iostream> using namespace std; int main() { int p = 0; while( p != 5 ) { cout << "p="; cin >> p; { if (p == 5) cout << "Password accepted" << endl; if (p != 5) cout << "Password is incorrect" << endl; } } system("pause"); return 0; }
Private
[
?
]
Run code
Submit