Password Validation Prgram in C++, C/C++ Programming

Assignment Help:
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.

I need this done by 9 PM tonight if possible, this is a beginning programming class so it should be level appropriate

Related Discussions:- Password Validation Prgram in C++

Program to store family members details, Program to store family members de...

Program to store family members details in C++: #include #include #include struct record {   char name[30];   int age;   char state[40]; }x; //cal

Fibonacci series, draw the flow chart to print the fibonacci series upto n ...

draw the flow chart to print the fibonacci series upto n th terms

Constructors and destructors, Constructors and Destructors: A Class is ...

Constructors and Destructors: A Class is defined as constructor by declaring a constructor in the form of function inside the class.  In other word a function in the name of

Define the keywords of c language, Define the Keywords of c language? C...

Define the Keywords of c language? C keeps a small set of keywords for its personal use. These keywords can't be used as identifiers in the program. Here is the list of keyword

Eevrv, Ask question #Mi fd d fffffffffffffffffffffffffffffffffffffffffff...

Ask question #Mi fd d fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

C++, write a c++ program for minimum shelf downloads

write a c++ program for minimum shelf downloads

C program, Just need the answers to the following 3 questions. "NO NEED to ...

Just need the answers to the following 3 questions. "NO NEED to write a program compile or run it, do not need it. Just need the answers for the following questions. Example quest

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd