Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Projec e following procedure will be used to produce a password from the user's first and last names the three words input by the user.

image text in transcribed
Projec e following procedure will be used to produce a password from the user's first and last names the three words input by the user. The password generated is written using the following items noagtiment together in the order listed (no commas between items) user's first initial, user's last initial, length of users name including the space, first letter, last letter, and length of word1, first letter, last letter, and length of word2, first letter, last letter, and length of word3 The program is to prompt for, read in and echo print(look at sample solution echo print style) a u name and three words. The username must be read using the getline function. The words be read using extraction. The program will then print out the three words entered in a column format showing the length of each word (see the slides and sample solution). The program ther prints out the average word length and finally the password generated as described above. The output of your program shall match that of the sample solution. Read the slides and run sample solution to see the full output requirements for this project All floating-point numbers are to be output with 2 decimal places of precision as shown in sample solution. Your program should work for all provided input files Output shall be the same as that shown by the provided solution Read this handout; read the slides and run the sample solution Output of your program shall match that of the sample solution Include the string header file and then use the statement cout Read this handout; read the slides and run the sample solution Output of your program shall match that of the sample solution Include the string header file and then use the statement cout

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

Step: 3

blur-text-image

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

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions

Question

3. List ways to manage relationship dynamics

Answered: 1 week ago