Question: 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.
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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
