Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ Project: The goal of this project is to implement a simple password generation algorithm using the string class functions and operators. use #include ,
C++ Project:
The goal of this project is to implement a simple password generation algorithm using the string class functions and operators.
use #include
The OUTPUT sample should look like this:
The following procedure will be used to produce a password from the user's first and last names and the three words input by the user. The password generated is written using the following items together in the order listed (no commas between items) user's first initial, user's last initial, length of user's 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 users name and three words. The username must be read using the getline function. The words can 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 then 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 the 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 the sample solution. .Include the string header file and then use the statement coutStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started