Reference no: EM131433652
Create a .cpp program that verifies the strength of a password that a user is entering is strong (complex/secure) enough. In the main area of the program, prompt the user to enter a password. Then, call a function, passing into it the password that they entered.
In the function, use whatever .cpp commands or built-in functions are available to ensure:
a. The password is at least 8 characters in length.
b. The password is mixed case (upper and lower).
c. You have at least one of these valid special characters in your password:
$ ! @ % ^ & * #
The function will determine if the password is strong enough and then output the correct message. Here is a sample run and output from the program:
First Run:
Enter a password: thisis
Your password length is too short. Please choose a password that is at least 8 characters long.
Your password is not a mixed case. Please choose a password with mixed case.
You do not have a valid special character in your password. Please add at least one special character.
Second Run:
Enter a password: thisismypassword
Your password is not a mixed case. Please choose a password with mixed case.
You do not have a valid special character in your password. Please add at least one special character.
Third Run:
Enter a password: Thisismypassword
You do not have a valid special character in your password. Please add at least one special character.
Fourth Run:
Enter a password: thisis!myPassWORD
Thank you. Your password is valid.
Healthcare cost and utilization project
: Source: Healthcare Cost and Utilization Project: United States Department of Health and Human Services. Retrieved from http://www.ahrq.gov/research/data/hcup/
|
Develop system conceptual design
: Develop "system conceptual design". This assignment an individual assignment and will be submitted as a written report - design of a large system requires components that work together in a way
|
Assumptions about leadership different
: How are your assumptions about leadership different now than they were in the beginning of the course? What does it mean to be a leader?
|
Devise a staffing strategy for the organizations
: 1. How does an organization's investment in staffing benefit the organization after an applicant becomes an employee? 2. Devise a staffing strategy for the following organizations:
|
Create a program that verifies the strength of a password
: Create a .cpp program that verifies the strength of a password that a user is entering is strong (complex/secure) enough. In the main area of the program, prompt the user to enter a password.
|
Concepts of preload and afterload
: Lasix "reduces extravascular volume by inducing diuresis hence decrease preload and the work of the heart in pumping blood is decreased hence prevent progression of heart failure." Briefly explain the concepts of preload and afterload.
|
How could validation have saved sara development time
: Most people use browsers that support images. Why is it important to support all browser types in this situation? How could validation have saved Sara development time? What other advantages would have come from initial validation?
|
Is there anything ms zorin can and should do
: The prime candidate for the manager's position is Mr. Yalo, a recent immigrant from a country known for confining the roles for women. Ms. Zorin was alerted by other women engineers to expect unchallenging, trivial assignments from a supervisor wi..
|
What items are typically included in a job description
: What items are typically included in a job description? What items are typically not shown? What is job analysis? How can you make use of the information it provides? Describe the types of information typically found in a job specification.
|