Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started