Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

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.

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_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

Recommended Textbook for

Oracle 11G SQL

Authors: Joan Casteel

2nd Edition

1133947360, 978-1133947363

More Books

Students explore these related Databases questions