Answered You can hire a professional tutor to get the answer.

QUESTION

You are developing a software package that requires users to enter their own passwords. Loop until the passwords meet the software criteria. The...

You are developing a software package that requires users to enter their own passwords. Loop until the passwords meet the software criteria.

  • The password should be at least six characters long.
  • The password should contain at least one uppercase and one lowercase letter.
  • The password should have at least one digit.

The program should have an isValid function that will test if the password is valid. Use the following code to declare a password variable with a global constant int SIZE=80;

char password[SIZE].

Next, use a while(true) to continue looping until the user enters a valid password. Read in the password and call the isValid program. You can use the isupper(), islower(), and isdigit() functions.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question