Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(JAVA) This is what I have so far. Not sure where to go from here. Thanks for your help! /* In this program, we will
(JAVA) This is what I have so far. Not sure where to go from here. Thanks for your help!
/* In this program, we will further develop homework3_5, which determine whether the password meets all the requirements or not. In this program, you will keep asking the user to enter a password until it meets all the requirements In order to do that, you need to (1) create a class called homework4_5 (2) ask the user to enter a password (3) if the password meets all the requirement, display "Your account has been created successfully"; otherwise, display the error message "Your password does not meet the requirement, please try again", then give the user another chance to enter a password (4) here is the requirements that password should meet - the total length is at least 8 - you need to have at least 1 uppercase letter - you need to have at least 1 lowercase letter Here are examples: Example 1: input: abcdABCD1234 output: Your account has been created successfully Example 2: input: abcdABC output: Your password does not meet the requirement.Please enter a password input: abcdefggert output: Your password does not meet the requirement.Please enter a password input: ABCDEFGHWERGH output: Your password does not meet the requirement.Please enter a password input: ABcwergfhuw output: Your account has been created successfullyStep 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