Question: Program Description: Write a program to ask user to enter a password and validity the password. The password should be 8 - 2 0 characters

Program Description:
Write a program to ask user to enter a password and validity the password. The password should be 8-20
characters long (8 is acceptable and 20 is acceptable), it should contain at least one uppercase letter and one
lower case letter. The password should contain at least one digit, and at least one symbol other than
alphabets or numbers. Most importantly, a password may not contain any white space.
Functions:
You will need the following functions, do not change function header including the parameter. Add more if
needed. Your main function should be less than half a page.
You should have the following variables in main:
string password;
The program should ask for a password and then verify that it meets the stated criteria. If it doesn't, the
program should display a message telling the user why it fails with all the applicable mistakes, and then ask
for re-entry until it is correct.
Other requirements:
1. Follow programming style guideline very carefully.
2. Your output style has to match with my output shown (although you can try different user input).
3. All functions must have prototypes.
4. Your main function should only declare the variables and call the functions. (shorter than half a page)
5. Store all values as variables, do not hardcode any values.. Use constant variables as much as possible
6. NO global variables in this assignment
 Program Description: Write a program to ask user to enter a

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!