Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

no loops and function allow This program introduces concepts in Chapters 3 and 4 The goal of this project is to implement a simple password

image text in transcribed

no loops and function allow

This program introduces concepts in Chapters 3 and 4 The goal of this project is to implement a simple password generation algorithm using the string class tunctions and oparators introduced during lecture. Page I of3 Spring 2019 CPE211 Project Assignment Project 4 The folowing 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 wnitten using the following items logether in the order lsted (no commas between iemsl user's first initial, user's last initial, length of user's name inclucing the spaoe, first letter, ast eter, and length of word1 first letter, last ltter, and length of word2 first letter, last letler, and length of word3 The program is to prompt for, read in and echo printllook 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 wards entered in a column fonmat showing the length of each word (see the sides and sample solton).The program then prints out the average word length and finally the password generated as descnbed abave. The output af your program shall match that of the sampie solution. Read the slides and run the sample solution lo see the ful output requirements for this praject. Al noating-point numbers are to be output with 2 decimal places of precision as shown in the sample solution. Your program should work for all provided input ties eProject 4 Hints and Helpful Suggestions> .Read this handout; read the slides and run the sample solution Output af your program shall match that of the sample solution . Include the string header file and hen use the statement oout

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

Knowledge Discovery In Databases

Authors: Gregory Piatetsky-Shapiro, William Frawley

1st Edition

ISBN: 0262660709, 978-0262660709

More Books

Students also viewed these Databases questions