I am a beginner. I already have the code for username and password for a single set. I am trying to figure out how to make it possible to have three different sets of username and password. I have this code, but it only prints "invalid"
This block of code need to be in a loop in order to compare each of the 3 usernames and passwords.
PLEASE ALWAYS USE CODE TAGS (the <> formatting button) when posting code.
It makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/
Hint: You can edit your post, highlight your code and press the <> formatting button.