Program 2 Password Checker 15pts (continues from Program 1) Instructions: Create a program that simulates a password che

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 2 Password Checker 15pts (continues from Program 1) Instructions: Create a program that simulates a password che

Post by answerhappygod »

Program 2 Password Checker 15pts Continues From Program 1 Instructions Create A Program That Simulates A Password Che 1
Program 2 Password Checker 15pts Continues From Program 1 Instructions Create A Program That Simulates A Password Che 1 (45.47 KiB) Viewed 31 times
Program 2 Password Checker 15pts (continues from Program 1) Instructions: Create a program that simulates a password checker. Use the password that was set in the first part of the program, if the user enters the password correctly it will output Authentication Successful if the user does not answer the password correctly it will say Failed Attempt! Try again Attempt 1 Each failed attempt is recorded. Each time the user fails, output the number of that failed attempt. Enter the password: Failed Attempt! Try again Attempt 1 Enter the password: Failed Attempt! Try again Attempt 2 If the user fails 5 times output: Error! You have exceeded the number of attempts, try again? Y for "yes" or N for "No" The program should allow the user to try and enter the password again. The attempts should reset back to 0. Sample Rum Enter the password: password! Failed Attempt! Try again Attempt 1 Enter the password: password Failed Attempt! Try again Attempt 2 Enter the password: magicword Authentication Successful! FOR FAILED ATTEMPTS: Enter the password: password1 Failed Attempt! Try again Attempt 1 Enter the password: password2 Failed Attempt! Try again Attempt 2 Enter the password: password3 Failed Attempt! Try again Attempt 3 Enter the password: password4 Failed Attempt! Try again Attempt 4 Enter the password: password5 Error! You have exceeded the number of attempts, try again? Y for "yes" or N for "No"
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply