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; }
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment