Question: Someone please explain what the line of code at line 42 does, I'm confused about what while(true) does in the program 26 const string password
Someone please explain what the line of code at line 42 does, I'm confused about what while(true) does in the program
26 const string password "hello"; 27 28 string input; 29 30 31 do { cout " flush; cin >> input; 32 33 34 == 35 36 if(input password) { break; }else{ cout
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
