Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSC 104 EXTRA CREDIT HWASSIGNMENT This will replace your lowest HW score. Password Generator Due date: Tue. Nov. 30 @11:59pm Fall 2021 THIS ASSIGNMENT IS

image text in transcribed
CSC 104 EXTRA CREDIT HWASSIGNMENT This will replace your lowest HW score. Password Generator Due date: Tue. Nov. 30 @11:59pm Fall 2021 THIS ASSIGNMENT IS TO BE COMPLETED INDIVIDUALLY AND MUST BE SUBMITTED TO BLACKBOARD FOR GRADING. You should read through the entire assignment and then sketch out a plan BEFORE beginning to code. Write a program to generate password suggestions for a user. A sample is below. The user responses are in bold and are shown to give you an example of what the output would look like. Sample Execution: Welcome to the password generator. Enter favorite color: green Enter pet's name: reese Enter favorite food (no spaces): pizza Enter a number: 7 You entered: green reese pizza 7 First password: green_reese Second password: Tgreen Third password: rTepizza Number of characters in password 1: 11 Requirements: 0 2 pts - When you name your le use your last name for example: LasWamePasswordspy 0 3 pts - Place a comment at the top of your code with your name. o '7 pts Write a line of code to display the welcome message: Welcome to the password generator. 0 24 pts - Write four lines of code to ask the user for their pet's name, their favote solar, food, and number exactly in the format below. Their responses (input) should be stored in variables- 0 12 pts Write a line of code to display what they entered exactly in the format above- (bold values will change based on input). a 21 pts - Write 3 lines of code to save password combinations into 3 variables in the format: o I"I password will be favorite color followed by an underscore followed by the pet name o 2Ild password will be - the number they entered followed by their favorite color o 3rd password will be the fast letter of the pet name followed by the number followed by the last letter of the pet name followed by the favorite food 0 21 pts - Write three lines of code to display the passwords exactly as shown above in the sample (bold values will change based on input)- 0 10 pts -Write a line of code to display the number of characters in the fast password exactly as shown above- (bold values will change based on input)- Submission: 0 Upload the le containing your program to Blackboard by the due date- 0 Copy your code into a doc-, dox or pdf format then upload into submission area

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_2

Step: 3

blur-text-image_3

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

Modern Dental Assisting

Authors: Doni Bird, Debbie Robinson

13th Edition

978-0323624855, 0323624855

Students also viewed these Programming questions

Question

1.LO11-2 Describe the production process in the short run.

Answered: 1 week ago