Answered step by step
Verified Expert Solution
Link Copied!

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 image text in transcribed
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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions

Question

What is the basic purpose of a code of ethics for a profession?

Answered: 1 week ago

Question

What were the issues and solutions proposed by each team?

Answered: 1 week ago

Question

3. Who would the members be?

Answered: 1 week ago