Program 1 Password Policy Program Checker 10pts Create a program that prompts the user to enter and set a valid password

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Program 1 Password Policy Program Checker 10pts Create a program that prompts the user to enter and set a valid password

Post by answerhappygod »

Program 1 Password Policy Program Checker 10pts Create A Program That Prompts The User To Enter And Set A Valid Password 1
Program 1 Password Policy Program Checker 10pts Create A Program That Prompts The User To Enter And Set A Valid Password 1 (46.65 KiB) Viewed 35 times
Program 1 Password Policy Program Checker 10pts Create a program that prompts the user to enter and set a valid password. Create a variable: string password: Prompt the user to set a password that is 8 characters or more in length; and contains at least 1 number and at least one uppercase. If the password does not meet the Criteria, output: Password does not meet the criteria, try again. Password should be a characters in length, at least 1 uppercase and at leas t 1 number. If the password meets the criteria, output: Congratulations password has been set! Test, by typing an incorrect password 8 times, and set the password at the 9th entry, sample output: Enter a password that contains at least 1 uppercase, and 1 number. The password should be 8 characters in length: Sally2 Password does not meet the criteria, try again! Enter a password that contains at least 1 uppercase, and 1 number. The password should be 8 characters in length: salli8 Password does not meet the criteria, try again! Enter a password that contains at least 1 uppercase, and 1 number. The password should be 8 characters in length: sally Password does not meet the criteria, try again! Enter a password that contains at least 1 uppercase, and 1 number. The password should be 8 characters in length: Sall Password does not meet the criteria, try again! Enter a password that contains at least 1 uppercase, and 1 number. The password should be 8 characters in length: Sallyl Password does not neet the criteria, try again! Enter a password that contains at least 1 uppercase, and 1 number. The password should be 8 characters in length: Ben122 Password does not meet the criteria, try again! Enter a password that contains at least 1 uppercase, and 1 number. The password should be a characters in length: Dante123) Congratulations, password Dante123 has been set
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply