Please help guys... I\'m so confused about arrays and I have noidea how to write
ID: 3615620 • Letter: P
Question
Please help guys... I'm so confused about arrays and I have noidea how to write this program. I need to write a program inC that will ask the following 3 users their password: userid password CRobert spear JMoorey bluey BChance visor If the password is correct, the user will get a print screenthat says "WELCOME!" If the password is incorrect, the user will get a print screenthat says "ERROR, INCORRECT PASSWORD. PLEASE TRY AGAIN!" Theuser will then be prompted to reenter their password a secondtime. If the password is incorrect, they will get anotherprint screeen that will say "INCORRECT PASSWORD. GOODBYE!" and theprogram will close. Please help. Will Rate Lifesaver. THANKS! Please help guys... I'm so confused about arrays and I have noidea how to write this program. I need to write a program inC that will ask the following 3 users their password: userid password CRobert spear JMoorey bluey BChance visor If the password is correct, the user will get a print screenthat says "WELCOME!" If the password is incorrect, the user will get a print screenthat says "ERROR, INCORRECT PASSWORD. PLEASE TRY AGAIN!" Theuser will then be prompted to reenter their password a secondtime. If the password is incorrect, they will get anotherprint screeen that will say "INCORRECT PASSWORD. GOODBYE!" and theprogram will close. Please help. Will Rate Lifesaver. THANKS!Explanation / Answer
please rate - thanks #include #include #include int main() {char user[3][8]={"CRobert","JMoorey","BChance"}; char pw[3][8]={"spear","bluey","visor"}; char word[8]; int i=0,yes=0,j; for(i=0;iRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.