Question: C++ programing code: Can I receive help writing a C++ program code that creates a random password generator that allows the user to pick in
C++ programing code: Can I receive help writing a C++ program code that creates a random password generator that allows the user to pick in their password:
In your password
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
Example: Your random password is: ACbzdf1254. (or AtCde1z254, either would be acceptable passwords)
Finally asking the user: Would you like to create another password (0-no, 1-yes)? 0
I will need to generate characters and numbers for the length specified by the user. Therefore, I need a way to repeat generating random numbers and characters using For Loops.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
