Why the user was kicked out


Write a program using a 2-D array to store a user name and password (both strings) that will ask the user for his/her user name and then test to see if they are a valid user, if they are a valid user then the program should ask the user for their password. If they are not a valid user the program should allow the user to make a total 3 attempts to enter a valid user-name. If the user does not enter a valid user-name the program should exit after they have extinguished their 3 attempts and print an error indicating why the user was kicked out. If the user has enter a valid user-name the program should check to see if the password they entered is valid, if it is then print a welcome user screen if not allow the user to retry their password 2 more times ( a total of 3 tries). If after 3 attempts at the password the program should exit and print an error indicating why the user was kicked out.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Why the user was kicked out
Reference No:- TGS0128766

Expected delivery within 24 Hours