Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with this lab, I have to make password generator, The rules are in the pdf file, thanks. Problem Statement A good password

image text in transcribed

I need help with this lab, I have to make password generator, The rules are in the pdf file, thanks.

Problem Statement A good password has many requirements. Humans have a hard time meeting these requirements left to their own devices. You are tasked with creating a program that will generate a password based on what the user wants in the password. The user should be able to choose if they want a password with: upper case lower case The user should also provide the length of the password and how much of the password should be comprised of their selections. You can generate in order or out of order (see below). For example: Welcome to Password Creator! How long do you want the password to be? 10 Do you want letters (0-no, 1-yes)? 1 Do you want uppercase letters (0-no, 1-yes)? 1 How many characters of the password should be uppercase? 2 Do you want lowercase letters (0-no, 1-yes)? 1 How many characters of the password should be lowercase?4 Do you want numbers (0-no, 1-yes)? 1 How many characters of the password should be numbers?4 Your random password is: ACbzdf1254 or AtCde1z254 (either would be acceptable passwords) Would you like to create another password (0-no, 1-yes)?0 You need to generate characters and numbers for the password length specified by the user Therefore, you need a way to repeat generating random numbers and characters. You could use a while loop, but it would be more appropriate to use a for loop. For example: for(int i=0; i

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Larry Ellison Database Genius Of Oracle

Authors: Craig Peters

1st Edition

0766019748, 978-0766019744

More Books

Students also viewed these Databases questions

Question

Compute the derivative of f(x)cos(-4/5x)

Answered: 1 week ago

Question

Discuss the process involved in selection.

Answered: 1 week ago

Question

Differentiate tan(7x+9x-2.5)

Answered: 1 week ago

Question

Explain the sources of recruitment.

Answered: 1 week ago