Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need help with this program Write a program that will Ask the user to enter a password Write a method that will check whether
I need help with this program Write a program that will Ask the user to enter a password Write a method that will check whether the password follows a set of rules and will return true or false depending on the check. Here are the rules that ALL have to be true for the password to be correct: 1. Check whether the password has at least 8 characters. 2. Check whether the password has at least 2 numbers. 3. Check whether the password has at least 2 upper case letters 4 Check whether the password has at least 1 symbol (non-alphabets) 5. The password should not have any space. Now from the main method, send the user provided password to that method to check whether it follows the above set of rules and provide a corresponding prompt showing whether the password is in correct form or not
I need help with this program
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