Question: Please write a code in the extra credit also. HW3-Basic Version (Graded out of 100) You will write the code for a password validation function,

Please write a code in the extra credit also.

Please write a code in the extra credit also. HW3-Basic Version (Gradedout of 100) You will write the code for a password validationfunction, and demonstrate your function is correct with a driver. To bevalid, a password must Be at least 8 characters and at most10 characters Have at least one upper case letter, at least onelower case letter, at least one digit and at least one specialcharacter. Not contain any character which is not a letter, digit orspecial 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 yourprogram more modular isValidPassword: takes as argument a string and returns trueif the string is a valid password. Else it returns false. b)

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!