Without using Arrays, write a program that do the following • Prompts the user to enter the length of random password, n • Generates a random number in the range from 1 to 3, then it will be used for...


Without using Arrays, write a program that do the following<br>• Prompts the user to enter the length of random password, n<br>• Generates a random number in the range from 1 to 3, then it will be used for branching as<br>• 1: for generating a random lower character (65-90)<br>• 2: for generating a random upper character (97-122)<br>• 3: for generating a random digit (48-5T)<br>• Prints the random password<br>• Prints how many generated lower character<br>• Prints how many generated upper character<br>• Prints how many generated digits<br>Sample input / output:<br>What is the length of the random password: 10<br>The 10 characters' password is: IKT531Y7PO<br>There are 4 lower letters<br>There are 2 upper letters<br>There are 4 digits<br>

Extracted text: Without using Arrays, write a program that do the following • Prompts the user to enter the length of random password, n • Generates a random number in the range from 1 to 3, then it will be used for branching as • 1: for generating a random lower character (65-90) • 2: for generating a random upper character (97-122) • 3: for generating a random digit (48-5T) • Prints the random password • Prints how many generated lower character • Prints how many generated upper character • Prints how many generated digits Sample input / output: What is the length of the random password: 10 The 10 characters' password is: IKT531Y7PO There are 4 lower letters There are 2 upper letters There are 4 digits

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here