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
characters long is acceptable and 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 reentry until it is correct.
Other requirements:
Follow programming style guideline very carefully.
Your output style has to match with my output shown although you can try different user input
All functions must have prototypes.
Your main function should only declare the variables and call the functions. shorter than half a page
Store all values as variables, do not hardcode any values.. Use constant variables as much as possible
NO global variables in this assignment
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
