Question: Here are the general instructions: 1 . Start with a list of letters ( upper and lower ) , a list of numbers, and a

Here are the general instructions:
1. Start with a list of letters (upper and lower), a list of numbers, and a list of symbols
2. Ask the user for how many characters to make the password
3. Start with an empty password string
4. Repeat the following steps as many times as needed until the password is long enough
a. Randomly select a character from one of the lists from step #1
b. Add that random character to the password string
5. Print the password (matching the requested length)
6. Ask the user if they want to generate another or quit

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!