Problem 1 (Textbook problem 47, chapter 4, page 241)

$24.99 $18.99

You are creating a new account and need to provide a password. The password has the following requirements: The password must be at least 6 characters and at most 20 characters. It must contain at least one lowercase letter, one upper case letter, and one number. Write a program that prompts the user to input…

5/5 – (2 votes)

You’ll get a: zip file solution

 

Description

5/5 – (2 votes)

You are creating a new account and need to provide a password. The password has the following requirements:

  1. The password must be at least 6 characters and at most 20 characters.

  2. It must contain at least one lowercase letter, one upper case letter, and one number.

Write a program that prompts the user to input a password and checks if the password is valid. If the password is valid, print a confirmation statement and end the program. If it is not, print a statement the the password is not valid and ask the user to re-enter the password until valid one found.

Problem 1 (Textbook problem 47, chapter 4, page 241)
$24.99 $18.99