how to input a password "jru" in visual C++. Thank you very much !
1
Expert's answer
2012-09-04T09:14:57-0400
#include <iostream> using namespace std; #include <string>
int main () { string password; cout<<"Please, Enter password\n"; cin>>password; if (password == "jru"){ cout<<"Password accepted\n"; // allowed code - here } system ("pause"); return 0; }
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments