This code prints the password randomly. within lower,upper,special characters and all.
My code is about Random Password Generator. This code generates a random password of a specified length between 8 and 12 characters. First, the code prompts the user to enter a password length within the valid range. If the user enters a length less than 8, the code prints an error message. If the user enters a length greater than 12, the code also prints an error message. Otherwise, the code generates a password consisting of lowercase letters, uppercase letters, digits, and punctuation marks. Finally, the code prints the generated password according to the length given by the user.
Submitted by SWATHI PRIYA DODDI (Swathipriya)
Download packets of source code on Coders Packet
Comments