Imagine you are developing a software package that requires users to enter their own passwords.

Your software requires that user’s passwords meet the following criteria:

• The password should be at least six characters long.
• The password should contain at least one uppercase and at least one lowercase letter.
• The password should have at least one digit.
Write a program that asks for a password and then verifies that it meets the stated criteria.

If it doesn’t, the program should display a message telling the user why.

Edited 3 Years Ago by mike_2000_17: moved to C++

here we don't do your homework. you should think more on this problem . And make full use of ifs or switch inside loop.

start thinking and writing the code. If you get errors then post your code here and we will try to point out the error.

so , don't forget to show you efforts (post your code).

Imagine you are developing a software package that requires users to enter their own passwords.

Your software requires that user’s passwords meet the following criteria:

• The password should be at least six characters long.
• The password should contain at least one uppercase and at least one lowercase letter.
• The password should have at least one digit.
Write a program that asks for a password and then verifies that it meets the stated criteria.

If it doesn’t, the program should display a message telling the user why.

Do we look that stupid for you yea? Be a man and ask for a help. Dont try to disrespect us ok? We are way ahead of you in smartness.

This article has been dead for over six months. Start a new discussion instead.