123456789101112131415161718192021222324
#include <iostream> #include <cstdlib> #include <cmath> using namespace std; void hint(char usrv) { if (usrv=18) cout<<"CORRECT"<<endl; else cout<<"INCORRECT"<<endl; } int main() { int usrv; cout<<"LOGIN:"<<endl; cin>>usrv; hint(usrv); system ("PAUSE"); return 0; }
if (usrv=18)
if (usrv==18)
=
==
true