Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write a code based on the following instruction and add comments to make the code clear. please write the code for extra credit part

Please write a code based on the following instruction and add comments to make the code clear. please write the code for extra credit part as well and the expected output is added below . THANKS

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

HW3-Basic Version (Graded out of 100) You will write the code for a password validation function, and demonstrate your function is correct with a driver. To be valid, a password must Be at least 8 characters and at most 10 characters Have at least one upper case letter, at least one lower case letter, at least one digit and at least one special character. Not contain any character which is not a letter, digit or special character. A special character is one of the following characters: #, $, %, &. ?, @, * 1. Additional requirements for basic version- Make sure you meet all the requirements to avoid losing points a) Functions You are required to implement your program with the following function. You can implement additional functions, as you see fit, to make your program more modular isValidPassword: takes as argument a string and returns true if the string is a valid password. Else it returns false. b) Style Make sure you follow the style requirements to avoid losing points c) Outline of main Your main function will consist of a driver for isValidPassword

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

Data Management Databases And Organizations

Authors: Richard T. Watson

6th Edition

1943153035, 978-1943153039

Students also viewed these Databases questions

Question

1.who the father of Ayurveda? 2. Who the father of taxonomy?

Answered: 1 week ago

Question

Commen Name with scientific name Tiger - Wolf- Lion- Cat- Dog-

Answered: 1 week ago

Question

Question What is a Roth 401(k) feature?

Answered: 1 week ago