Quick actions

cmd+k|ctrl+k

Navigation

Languages

52

Snippet info

Language

Cpp

Visibility

public

Author

zvat.333333

Created

2018-10-29T14:36:38Z

Updated

2018-12-20T19:12:34Z

#include <iostream>
using namespace std;

int main() {
    int password, Q;
    cin >> password;
    cout << "Password";
    
    cin >> Q; 
   
   if (Q == password)
   {
       cout << "Done";
   }
   
   else
   {
    while (password == Q)
    {
        cin >> Q;
 
    }
   }
    return 0;
}
INFO