Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<bits/stdc++.h>
- using namespace std;
- int main()
- {
- int n,t,i=1;
- int c_password = 1999;
- cin >> n;
- while(n)
- {
- if(c_password == n)
- {
- cout << "Correct" <<"\n";
- break;
- }
- else
- {
- cout <<"Wrong" <<"\n";
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement