Question: java: Programming problem # 2: Develop an application that prompts the user to enter a username and a password. If the username and password are

java:

Programming problem # 2:

Develop an application that prompts the user to enter a username and a password. If the username and password are valid, display: Welcome blablabla. If the username and password are invalid, repeat prompting the user to enter the username and password. Allow the user to enter up to 3 invalid username and/or password. After the third attempt, display: Your account has been locked. Please contact the administrator. You must use a 2D array to store the valid usernames and passwords.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!