Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Don't use loops if , else, while, find any conditionals or iterations MAATLAB Function: passwordChecker Input(s): - (1xN char) a string representing a password Output(s):

Don't use loops if , else, while, find any conditionals or iterations MAATLAB

image text in transcribed

Function: passwordChecker Input(s): - (1xN char) a string representing a password Output(s): - (logical) true or false of if the password is strong enough Function Description: Given an input password, output a single true or false based on if it is a strong enough password. A strong password must include ALL of the following: - At least one capital letter - At least one number - At least one special character For our purposes, we will say that a special character is one that is neither a letter nor a number. Note(s): - Remember the input is a string, and there are character representations of numbers. - The find() function is banned. Examples: password1 = 'password12345!!!'; strongEnough1 = passwordChecker (password1) >> strongEnough1 =logical() password2 = 'whatsTh3ge0dwerd?'; strongEnough2 = passwordChecker (password2) >> strongEnough2 = logical(1)

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions

Question

Develop clear policy statements.

Answered: 1 week ago

Question

Draft a business plan.

Answered: 1 week ago

Question

Describe the guidelines for appropriate use of the direct plan.

Answered: 1 week ago