Answered step by step
Verified Expert Solution
Question
1 Approved Answer
No Iterations or Conditionals or find() function MATLAB Function: passwordChecker Input(s): - (1xN char) a string representing a password Output(s): - (logical) true or false
No Iterations or Conditionals or find() function MATLAB
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
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