Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Code Exercise A Imagine you are developing a software package that requires users to enter their own passwords. Your software requires that users' passwords

C++ Code

Exercise A

Imagine you are developing a software package that requires users to enter their own passwords. Your software requires that users' passwords meet the following criteria:

1. The password should be at least six character long.

2. The password should contain at least one uppercase letter.

3. The password should contain at least one lowercase letter.

4. The password should have at least one digit.

Write a program that asks the user for a password and then verifies that it meets ALL the stated criteria. If it doesn't, the program should display a message telling the user what criteria is missing.

In either case, your program must loop as long as user enters..Y/y/yes/Yes. Not case sensitive. (Other than yes in any form, should be considered as no and your program should terminate).

NOTE: For criteria #1 do not forget to validate user input using the length of the string NOT the size.

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

Step: 3

blur-text-image

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

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

(1 point) Calculate 3 sin x cos x dx.

Answered: 1 week ago